forked from Tatoeba/tatoeba2
-
Notifications
You must be signed in to change notification settings - Fork 0
Tatoeba tests for migration to CakePHP 2
Trang edited this page Jan 12, 2019
·
1 revision
- Imports: it's not used often, it can only be used by admins, and mass imports can wait, we're not in a race to get more sentences.
- Tools and Sinograms: the "Tools" page is not reachable from anywhere on the UI. These tools are rarely (if not never) used by users so there's no pressure to fix them quick.
- adopt_sentences
- ✅ The filter "Filter by language" displays orphan sentences in selected language.
- improve_sentences
- ✅ Page is displayed properly.
⚠️ But if testing from an empty database, this page will not have the correct links because the tags are not initialized in the tags table.
- translate_sentences
- ✅ "Search for untranslated sentences" redirects to correct search results URL. The search seems to not be working though.
- ✅ "Display random sentences" redirects properly to page with random sentences.
- import
- ✅ The page is accessible only to admins.
- ❔ Currently cannot test the page, haven't configured stuff for audio.
- index
- ✅ Page shows up properly.
- ✅ Pagination works.
- ✅ Language filter works.
- save_settings
- ✅ Saving license for audio works.
- request
- ❔ Currently cannot test.
- add_sentence
- ✅ Adding a rating to a sentence works.
- delete_sentence
- ✅ Removing a rating from a sentence works.
- of
- ✅ Page is displayed properly.
- ✅ Filters are working.
- index
- ✅ Contribution logs are displayed as expected.
- latest
- ✅ Latest contribtions are displayed as expected.
- ✅ Filter by language works fine.
- activity_timeline
- ✅ Stats are displayed as expected.
- of_user
- ✅ Contribution logs are displayed as expected.
- of_user
- ✅ Favorites are displayed properly.
- ✅ I can remove a favorite.
- ✅ I can undo after removing.
- add_favorite
- ✅ Favorite is added properly.
- remove_favorite
- ✅ Favorite is removed properly.
- import_single_sentences
- ❌ Tried to import a file with 1 sentence in it. Got error
Undefined index: Sentence
.
- ❌ Tried to import a file with 1 sentence in it. Got error
- import_sentences_with_translation
- ❌ Tried to import a file with 1 sentence and 1 translation. Got error
Undefined index: Sentence
.
- ❌ Tried to import a file with 1 sentence and 1 translation. Got error
- add
- ✅ Link is added, and translations are properly refreshed.
- delete
- ✅ Link is removed, and translations are properly refreshed.
- index
- ✅ Page for non-authenticated users is displayed properly.
- ✅ Page for authenticated users is displayed properly.
- contribute
- ✅ Page is displayed properly.
- about
- ✅ Page is displayed properly.
- contact
- ✅ Page is displayed properly.
- help
- ✅ Page is displayed properly.
- downloads
- ✅ Page is displayed properly.
- terms_of_use
- ✅ Page is displayed properly.
- faq
- ✅ Redirects to wiki page.
- donate
- ✅ Page is displayed properly.
- index
- ✅ Redirects to inbox.
- folder
- ✅ Each folder shows correct title.
- send
- ✅ Private message is saved properly when "Send".
- show
- ✅ Page is properly displayed.
- empty_folder
- ✅ All PM's in trash are deleted.
- delete
- ✅ PM is moved to Trash.
- restore
- ✅ PM is restored properly for "Inbox" messages.
- mark
- ✅ Marking as unread works.
- write
- ✅ Form to write private message is displayed properly.
- s
- ✅ Page is displayed properly.
- index
- ✅ Page is displayed properly.
- show
- ✅ Page is displayed properly.
- save
- ✅ Info is save properly.
- delete
- ✅ Meaning is deleted properly.
- search
⚠️ Search results seem ok but there's an errorUndefined index: Sentence
.
- replace
- ✅ String is properly replaced.
- last_modified
- ✅ Page is displayed properly.
- index
- ✅ Page is displayed properly.
- ✅ "Filter by language" works as expected.
- show
- ✅ Redirects to sentence's page as expected... but do we ever use this?
- save
- ✅ Comment is saved properly when no notification needs to be sent.
- ✅ Coment is saved properly when notification needs to be sent.
- edit
- ✅ Editing comment works as expected.
- delete_comment
- ✅ Deleting comment works as expected.
- of_user
- ✅ Page is displayed properly.
- on_sentences_of_user
- ✅ Page is displayed properly.
- hide_message
- ✅ Hiding comment works as expected.
- unhide_message
- ✅ Unhiding comment works as expected.
- index
- ✅ Redirects properly to a random sentence.
- show
- ✅ Page is displayed properly.
- go_to_sentence
- ✅ Going to sentence with specific id works.
- add
- ✅ If I don't have any language yet in my profile, I see the warning that tells me to add a language.
- ✅ If I have one or more language, I see the form to add a sentence.
- ✅ I can add a new sentence and it appears as expected in the "Sentences added" block.
- delete
- ✅ Deleting a sentence without translations works properly.
- ✅ Deleting a sentence with translations works properly (can only be done by admin).
- add_an_other_sentence
- ✅ I can a new sentence from activities/add_sentences.
- edit_sentence
- ✅ Edited sentence is saved and logged properly.
- adopt
- ✅ I can adopt an orphan sentence.
- let_go
- ✅ I can unadopt a sentence I have added.
- save_translation
- ✅ The translation is added properly.
- search
- ✅ Search works.
- advanced_search
- ✅ Advanced search form is displayed properly.
- show_all_in
- ✅ The filter "Sentences in" show correctly sentences in selected language.
- ✅ The filter "Show translations in" shows correctly translations in given language.
- ❔ The filter "Only sentences with audio" could not be tested.
- random
- ✅ Random sentence is returned.
- several_random_sentences
- ✅ Otherwise random sentences are displayed properly.
- of_user
- ✅ Page is displayed properly.
- ✅ Sorting works.
- ✅ "Filter by language" works.
- change_language
- ✅ Changing the langauge of a sentence works.
- get_neighbors_for_ajax
- ✅ Sentence id's for "next" and "previous" works.
- import
- ✅ Page shows the forms as expected.
- with_audio
- ✅ Redirects as expected to audio/index.
- edit_correctness
- ✅ Changing correctness works.
- edit_audio
- ✅ Doesn't save when just selected "yes" without entering an owner (I figured this is intentional).
- ✅ Saves properly if the owner is filled.
- index
- ✅ Page is displayed properly.
- ✅ Sorting works.
- ✅ Search works.
- collaborative
- ✅ Page is displayed properly.
- ✅ Sorting works.
- ✅ Search works.
- show
- ✅ Page is displayed properly.
- ✅ Sorting works.
- add
- ✅ Creating a list works
- save_name
- ✅ Edited name is saved properly.
- delete
- ✅ Deleting a list works.
- add_sentence_to_list
- ✅ Adding an existing sentence to list works.
- remove_sentence_from_list
- ✅ The sentence is removed.
⚠️ But there's a warningarray_map(): Argument #2 should be an array [APP/Model/Behavior/SphinxBehavior.php, line 267]
.
- of_user
- ✅ Page is displayed properly.
- ✅ Sorting works.
- ✅ Search works.
- add_new_sentence_to_list
- ✅ New sentence is added properly.
- set_as_public
⚠️ I think we don't use this anymore.
- set_option
- ✅ Options are saved properly.
- download
- ✅ Page is displayed properly.
- export_to_csv
- ✅ CSV file is generated properly.
- index
- Note: This is mapped to
/tools/search_hanzi_kanji
- ❌ Some texts are missing.
- Note: This is mapped to
- search
- ❌ 400 Bad request
- explode
- ❌ 400 Bad request
- load_sinogram_informations
- ❔ Can't test.
- load_example_sentence
- ❔ Can't test.
- load_radicals
- ❔ Not sure how to test.
- sentences_by_language
- ✅ Page is displayed properly.
- ❌ Note to self: SQL script to update language stats is broken due to removal of hasaudio.
- users_languages
- ✅ Page is displayed properly.
- native_speakers
- ✅ Page is displayed properly.
- add_tag_post
- ✅ Tag is added properly.
- add_tag
- ✅ Tag is added properly.
- view_all
- ✅ Page is displayed properly.
- ✅ Sorting works.
- ✅ Search works.
- remove_tag_from_sentence
- ✅ Tag is removed properly.
- remove_tag_of_sentence_from_tags_show
- ✅ Tag is removed properly.
- show_sentences_with_tag
- ✅ Page is displayed properly.
- ✅ Sorting works.
- ✅ Filter works.
- for_moderators
- ✅ Page is displayed properly when no sentences.
- ❔ Currently cannot test with sentences tagged two weeks ago or more.
- search
- ✅ Redirects as expected to tags/view_all.
- index
- ✅ Page is displayed properly.
- furigana
- ✅ Generation of furigana works fine otherwise.
- conversion_simplified_traditional_chinese
- ✅ Page is displayed properly.
- ✅ Conversion seems to work.
- pinyin_converter
- ✅ Page is displayed properly.
- ❌ When submitting:
The request has been black-holed
- shanghainese_to_ipa
- ✅ Page is displayed properly.
- ✅ Conversion seems to work.
- view
- ❔ I'm not sure what this does.
- reset
- ✅ Resetting transcription works.
- save
- ✅ Saving/editing a transcription works properly.
- of
- ✅ Page is displayed properly.
- profile
- ✅ Profile is displayed properly.
- save_image
- ✅ Uploading a profile pic works.
- remove_image
- ✅ Removing profile pic works.
- save_basic
- ✅ Saving name, country, birthday, homepage, description works properly.
- save_settings
- ✅ Settings are properly saved.
- ✅ Settings are properly applied.
- save_password
- ✅ Saving password works.
- edit_profile
- ✅ Page is displayed properly.
- settings
- ✅ Settings are displayed properly.
- index
- ✅ Page is displayed properly.
- edit
- delete
- ✅ User is deleted properly.
- login
- ✅ Login page is displayed properly.
- check_login
- ✅ Logging in works.
- logout
- ✅ Logging out works.
- register
- ✅ Page is displayed properly.
- ✅ I managed to register. I previously had errors in but I cannot reproduce them anymore.
- ✅ The new user is created properly in database.
- ✅ After registration, the user is redirected to the homepage.
- ✅ After registration, the user is automatically logged in.
- new_password
- ✅ Page is displayed properly.
- ✅ Password is reset.
- ❔ Didn't test if email is properly sent.
- search
- ✅ Searching by username works.
- show
- ✅ Page is displayed properly.
- all
- ✅ Page is displayed properly.
- check_username
- ✅ Checking if username already exists works.
- check_email
- ✅ Checking if email already exists works.
- for_language
- ✅ Page is displayed properly.
- save
- ✅ Language is created/edited properly.
- delete
- ✅ Language is removed properly.
- of
- ✅ Page is displayed properly-
- add
- ✅ Page is displayed properly.
- add_sentences
- ✅ Page is displayed properly.
- save
- ✅ I can add new vocabulary items.
- remove
- ✅ I can remove vocabulary items from my list.
- save_sentence
- ✅ Sentences are added properly. Count for vocabulary item is updated.
- index
- ✅ Page is displayed properly.
- ✅ I can expand/collapse replies.
- ✅ Clicking on "reply" opens the reply form, and I can submit a reply.
- save
- ✅ Posting a new message works properly.
- save_inside
- ✅ Reply is saved properly.
- edit
- ✅ Editing a message works.
- delete_message
- ✅ Deleting a message works.
- show_message
- ✅ Page is displayed properly.
- ✅ I can expand/collapse replies.
- ✅ Clicking on "reply" opens the reply form, and I can submit a reply.
- messages_of_user
- ✅ Page is displayed properly.
- hide_message
- ✅ Hiding works.
- unhide_message
- ✅ Unhiding works.