Milkshake/Manual testing

Thank you for helping to test the Universal Language Selector.

Document goals
The goal of this document is to allow moderately tech savvy users to comprehensively test the following Universal Language Selector features in their entirety:

Testing the language selector for user interface language

 * 1) Clean the cookies in your browser.
 * 2) Enter &lt;URL> (a wiki in language X, which is different from the user's language Y)
 * 3) * Check: The site's menus are in language Y
 * 4) * Check: There's a ULS icon at the top, with the name of your language
 * 5) Press the language name. The language selector is supposed to open.
 * 6) * Check: moving the mouse over the map reveals the region names.
 * 7) * Check: your language's name appears in the "Common languages" area. (assuming geolocation)
 * 8) Scroll down in the language list.
 * 9) * Check: Can you scroll down all the way to "Pacific".
 * 10) Refresh (Ctrl-F5)
 * 11) Open the language selector.
 * 12) Press the geographical region on the map where you live.
 * 13) * Check: The language list shows the region.
 * 14) * Your language appears in the list. (You may have to scroll down.)
 * 15) Click your language.
 * 16) * Check - the site reloads with content in the site's language and menus in your language.
 * 17) A tooltip appears at the top with the name of the previous language. Click the language name.
 * 18) * Check - the site reloads with content and menus in the site's language.
 * 19) Type your language's ISO code in the search box and press Enter immediately.
 * 20) * Check - the site reloads with content in the site's language and menus in your language.
 * 21) Open the language selector and scroll down to "Worldwide". Select Esperanto.
 * 22) A tooltip appears at the top with the name of your language. Click the language name.
 * 23) * Check - the site reloads with content and menus in the site's language.
 * 24) * Check - Esperanto appears in "Common languages".
 * 25) Search for "russian" (like that: in English, not in your language).
 * 26) * Check - "русский" appears in the search results.
 * 27) Search for Hindi in your language.
 * 28) * Check - "हिन्दी" appears in the results.
 * 29) Search for "aklocpa".
 * 30) * Check - Common languages are shown with the titile "No results".
 * 31) Search for "deutsh" (like that - not "deutsch"!)
 * 32) * Check - "Deutsch" appears in the search results.
 * 33) Search for "Francais" (like that - not "français"!)
 * 34) * Check - "français" appears in the search results.
 * 35) Click "français".
 * 36) * Check - the site reloads with content in the site's language and menus in French.

Logged in

 * 1) Log in.
 * 2) * Check - the site reloads with content and menus in the site's language.
 * 3) Click the language selector icon.
 * 4) * Check - Esperanto doesn't appear in Common languages.
 * 5) * Check: moving the mouse over the map reveals the region names.
 * 6) * Check: your language's name appears in the "Common languages" area. (assuming geolocation)
 * 7) Scroll down in the language list.
 * 8) * Check: Can you scroll down all the way to "Pacific".
 * 9) Refresh (Ctrl-F5)
 * 10) Open the language selector.
 * 11) Press the geographical region on the map where you live.
 * 12) * Check: The language list shows the region.
 * 13) * Your language appears in the list. (You may have to scroll down.)
 * 14) Click your language.
 * 15) * Check - the site reloads with content in the site's language and menus in your language.
 * 16) A tooltip appears at the top with the name of the previous language. Click the language name.
 * 17) * Check - the site reloads with content and menus in the site's language.
 * 18) Type your language's ISO code in the search box and press Enter immediately.
 * 19) * Check - the site reloads with content in the site's language and menus in your language.
 * 20) Open the language selector and scroll down to "Worldwide". Select Esperanto.
 * 21) A tooltip appears at the top with the name of your language. Click the language name.
 * 22) * Check - the site reloads with content and menus in the site's language.
 * 23) * Check - Esperanto appears in "Common languages".
 * 24) Search for "russian" (like that: in English, not in your language).
 * 25) * Check - "русский" appears in the search results.
 * 26) Search for Hindi in your language.
 * 27) * Check - "हिन्दी" appears in the results.
 * 28) Search for "aklocpa".
 * 29) * Check - Common languages are shown with the titile "No results".
 * 30) Search for "deutsh" (like that - not "deutsch"!)
 * 31) * Check - "Deutsch" appears in the search results.
 * 32) Search for "Francais" (like that - not "français"!)
 * 33) * Check - "français" appears in the search results.
 * 34) Click "français".
 * 35) * Check - the site reloads with content in the site's language and menus in French.

Logged out again

 * 1) Log in.
 * 2) * Check - the site reloads with content and menus in the site's language.
 * 3) Click the language selector icon.
 * 4) * Check - Esperanto appears in Common languages.

Testing the display of web fonts

 * 1) Clean the cookies in the browser.
 * 2) Go to &lt;URL> (an English wiki)
 * 3) Open the language selector
 * 4) Press "Display settings".
 * 5) Press "English" in the top row of buttons.
 * 6) * Check - The language of the language selector box changes to English.
 * 7) * Check - Font for English is "system font".
 * 8) Select "Opendyslexic" in the "Fonts for English" dropdown.
 * 9) * Check - the font in the box changes to Opendyslexic (with wide lines in the bottom). &lt;THIS DOESN'T ACTUALLY HAPPEN NOW>
 * 10) Select "System font" in the fonts dropdown.
 * 11) * Check - the font of the box changes back.
 * 12) Press your language name in the top row of buttons.
 * 13) * Check - The language of the language selector box changes to your language.
 * 14) * Check - There are two dropdowns for fonts - "Select font for English" and "Select font for &lt;your language>".
 * 15) Select &lt;THE FONT> as the font for your language.
 * 16) * Check - the font in the box changes to &lt;THE FONT> (with wide lines in the bottom). &lt;THIS DOESN'T ACTUALLY HAPPEN NOW>
 * 17) Press "Apply settings".
 * 18) Go to &lt;URL> (a sandbox page in the wiki)
 * 19) Edit the page and write ">TEXT IN THAT LANGUAGE
 * 20) Save the page.
 * 21) * Check - the page is reloaded and the typed text appears in the selected font.
 * 22) Open the language selector.
 * 23) Press "Display settings".
 * 24) Press "..." in the top buttons row.
 * 25) Find Kannada. (&lt;OR ANOTHER LANGUAGE IF THE USER'S LANGUAGE IS KANNADA.> "ಕನ್ನಡ" is supposed to appear. Select it.
 * 26) * Check - The language of the language selector box changes to Kannada.
 * 27) Select "Gubbi" as the font for Kannada.
 * 28) Check - the font in the selection box changed.
 * 29) Log in and repeat the procedure.

Testing the typing tool
A typing tool is a component that allows keyboard strokes to be received as input. In this way users can enter characters and symbols not found on their input devices.

Set up your test environment
&lt;XXX: Add screenshots>
 * 1) Enter &lt;XXX: URL>
 * 2) Select your language using the Universal Language Selector at the top.
 * 3) Not every language has a typing tool. If your language does not have a typing tool, and you think it needs one, please have a look at the technical specification. If you cannot create a typing tool for your language, or do not have the time to do it, please request a typing tool at the GitHub issue tracker.

Text input in the search box
Click in the search box.
 * 1) Check that a keyboard icon appears next to the search box.
 * 2) Does any language appear as current in the language selector in the search box?
 * 3) Is it your user interface language?
 * 4) If your language doesn't appear in the search box, does it appear in the drop-down list? If it does, select it.
 * 5) If it doesn't appear in the list, press "more languages" ("...")
 * 6) Select your language
 * 7) Open the help page with the description of the layout using the keyboard selector.
 * 8) Type a beginning of a page name words in your language according to the instruction. (TODO: prefill the wiki with some pages)
 * 9) Are page names that begin with these letters appearing in the search auto-complete under the search box?
 * 10) (If the language has more than layout:) Select a different layout. Try to type. Does it come as the newly selected layout?

Text input for editing a page

 * 1) Click the "create a new page" link (TODO: create the link)
 * 2) Click the page edit area.
 * 3) Check that a keyboard icon appears next to the editing area.
 * 4) Does any language appear as current in the language selector in the search box? Is it your language?
 * 5) If your language doesn't appear in the search box, does it appear in the drop-down list? If it does, select it.
 * 6) If it doesn't appear in the list, press "more languages" ("...")
 * 7) Select your language
 * 8) Try writing a page. Does it work as expected?
 * 9) Select a different language and a different layout. Try to type. Does it come as a different language?
 * 10) Disable the keyboard layout. Try to type. Does it come as the system keyboard?
 * 11) Select your language in the keyboard layout selector. Try to type. Is the last layout which you used for typing this language selected and working?
 * 12) Go to the edit summary line. Can you see the layout selector? Is your language selected? Can you type in that layout?

Preferences

 * 1) Go to &lt;URL> (TODO: prepare a different page for typing)
 * 2) Click the search box and check the layout selector. Check that your language and your layout are selected.
 * 3) Disable the layout tool.
 * 4) Go to &lt;URL> (TODO: prepare a different page for typing)
 * 5) Click the search box and check the layout selector. Check that the layout tool is disabled.
 * 6) Type something. Check the characters from the system layout are coming.
 * 7) Repeat as a logged-in user