Cmcmahon has submitted this change and it was merged. Change subject: Moved unimplemented scenarios to backlog folder ......................................................................
Moved unimplemented scenarios to backlog folder Bug: 47731 Change-Id: I820d6e046dfeba2080422af284231a67c4613a34 --- A features/backlog/search.feature A features/backlog/uls_ime.feature M features/search.feature M features/uls_ime.feature 4 files changed, 66 insertions(+), 64 deletions(-) Approvals: Cmcmahon: Verified; Looks good to me, approved jenkins-bot: Verified diff --git a/features/backlog/search.feature b/features/backlog/search.feature new file mode 100644 index 0000000..465ef06 --- /dev/null +++ b/features/backlog/search.feature @@ -0,0 +1,15 @@ +Feature: Search + + Scenario: Search without accent yields optimal accent result as top choice but shows redlink for search term. THIS TEST EMULATES CURRENT FUNCTION. + Given that I am on the Portuguese Wikivoyage Main page pt.wikivoyage.org + When I search for "Africa" + Then I should be on the Search Results page + And the page entitled "África" should be the top result + And the results page should show Africa as a red link + + Scenario: Find tokens in the captions of uploaded files + Given I am on http://commons.wikimedia.beta.wmflabs.org/ + And http://commons.wikimedia.beta.wmflabs.org/wiki/File:Presentation.pdf exists + And http://commons.wikimedia.beta.wmflabs.org/wiki/File:Presentation.pdf has the caption "This is a presentation about snails that User:GreenSpark gave on 6 December 2010 in Athens." + When I search for: snails + Then Presentation.pdf should be a result diff --git a/features/backlog/uls_ime.feature b/features/backlog/uls_ime.feature new file mode 100644 index 0000000..8bb37f7 --- /dev/null +++ b/features/backlog/uls_ime.feature @@ -0,0 +1,51 @@ +Feature: Universal Language Selector input method engine + + Scenario: ULS can see dropdown menu when they click on the IME icon + Given I am on a wiki page with input options with focus on an input box + When I click on the IME keyboard icon + Then I should see the dropdown menu with the a list of keymaps + + Scenario: Autonyms of keyboards should be visible to the user + Given I have clicked on the IME keyboard icon + When I get the drop down list of keyboards + Then I should see the autonyms of the keyboards + + Scenario: Language and Input Settings dialog should be displayed to the user + Given I have the dropdown menu of the keyboard open + When I click on the 'More Settings' option at the bottom of the dropdown + Then I should see the dialog to select Language and Input settings + + Scenario: User should see the main ULS dialog + Given I have the dropdown menu of the keyboard open + When I click on the '...' option near the bottom of the dropdown + Then I should see the main ULS dialog + + Scenario: Name of the selected keymap is visible with the IME icon + Given I have the dropdown menu of the keyboard open + When I click on the 'Bengali Probhat' keyboard + Then I should see the name of the keyboard i.e. 'Bengali Probhat' displayed with the IME icon + + Scenario: User should not be able to type with a disabled keymap + Given I have selected and enabled a keyboard to use from the dropdown menu and its name is displayed with the IME icon + When I press 'Ctrl+m' + Then I should see the selected keyboard being disabled and am not able to type in that script + + Scenario: The name of a disabled keyboard should not be visible in the IME icon tooltip + Given I have selected a keyboard and enabled from the dropdown menu + When I press 'ctrl+m' to disable it + Then I should see the name of the keyboard removed from the tooltip displaying the IME icon + + Scenario: Without a prior keyboard selection a keyboard name should not be displayed on pressing the shortcut keys + Given The cursor is on an input box and I have not made any keyboard selection + When I press 'ctrl+m' + Then I should not see any keyboard name displayed along with the IME icon + + Scenario: Keyboard selected in one input box should also be the selected keyboard in the next one + Given I have selected a keyboard and enabled from the dropdown menu + When I move from the currently active input box to another input box and start typing + Then I should be able to write in the keyboard that was selected in the previous box + + Scenario: Name of a keyboard selected in one input box should be displayed in the next one + Given I have selected a keyboard and enabled from the dropdown menu + When I move from the currently active input box to another input box + Then I should see the keyboard name still displayed with the IME icon diff --git a/features/search.feature b/features/search.feature index b148612..a73ce75 100644 --- a/features/search.feature +++ b/features/search.feature @@ -16,17 +16,3 @@ Given I visit a random page When I search for África Then the page I arrive on has title África - - Scenario: Search without accent yields optimal accent result as top choice but shows redlink for search term. THIS TEST EMULATES CURRENT FUNCTION. - Given that I am on the Portuguese Wikivoyage Main page pt.wikivoyage.org - When I search for "Africa" - Then I should be on the Search Results page - And the page entitled "África" should be the top result - And the results page should show Africa as a red link - - Scenario: Find tokens in the captions of uploaded files - Given I am on http://commons.wikimedia.beta.wmflabs.org/ - And http://commons.wikimedia.beta.wmflabs.org/wiki/File:Presentation.pdf exists - And http://commons.wikimedia.beta.wmflabs.org/wiki/File:Presentation.pdf has the caption "This is a presentation about snails that User:GreenSpark gave on 6 December 2010 in Athens." - When I search for: snails - Then Presentation.pdf should be a result diff --git a/features/uls_ime.feature b/features/uls_ime.feature index 8c21494..35c118e 100644 --- a/features/uls_ime.feature +++ b/features/uls_ime.feature @@ -4,53 +4,3 @@ Given I am at random page When I click on an input box Then I should see the input method keyboard icon at the bottom right - - Scenario: ULS can see dropdown menu when they click on the IME icon - Given I am on a wiki page with input options with focus on an input box - When I click on the IME keyboard icon - Then I should see the dropdown menu with the a list of keymaps - - Scenario: Autonyms of keyboards should be visible to the user - Given I have clicked on the IME keyboard icon - When I get the drop down list of keyboards - Then I should see the autonyms of the keyboards - - Scenario: Language and Input Settings dialog should be displayed to the user - Given I have the dropdown menu of the keyboard open - When I click on the 'More Settings' option at the bottom of the dropdown - Then I should see the dialog to select Language and Input settings - - Scenario: User should see the main ULS dialog - Given I have the dropdown menu of the keyboard open - When I click on the '...' option near the bottom of the dropdown - Then I should see the main ULS dialog - - Scenario: Name of the selected keymap is visible with the IME icon - Given I have the dropdown menu of the keyboard open - When I click on the 'Bengali Probhat' keyboard - Then I should see the name of the keyboard i.e. 'Bengali Probhat' displayed with the IME icon - - Scenario: User should not be able to type with a disabled keymap - Given I have selected and enabled a keyboard to use from the dropdown menu and its name is displayed with the IME icon - When I press 'Ctrl+m' - Then I should see the selected keyboard being disabled and am not able to type in that script - - Scenario: The name of a disabled keyboard should not be visible in the IME icon tooltip - Given I have selected a keyboard and enabled from the dropdown menu - When I press 'ctrl+m' to disable it - Then I should see the name of the keyboard removed from the tooltip displaying the IME icon - - Scenario: Without a prior keyboard selection a keyboard name should not be displayed on pressing the shortcut keys - Given The cursor is on an input box and I have not made any keyboard selection - When I press 'ctrl+m' - Then I should not see any keyboard name displayed along with the IME icon - - Scenario: Keyboard selected in one input box should also be the selected keyboard in the next one - Given I have selected a keyboard and enabled from the dropdown menu - When I move from the currently active input box to another input box and start typing - Then I should be able to write in the keyboard that was selected in the previous box - - Scenario: Name of a keyboard selected in one input box should be displayed in the next one - Given I have selected a keyboard and enabled from the dropdown menu - When I move from the currently active input box to another input box - Then I should see the keyboard name still displayed with the IME icon -- To view, visit https://gerrit.wikimedia.org/r/61373 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I820d6e046dfeba2080422af284231a67c4613a34 Gerrit-PatchSet: 1 Gerrit-Project: qa/browsertests Gerrit-Branch: master Gerrit-Owner: Zfilipin <[email protected]> Gerrit-Reviewer: Cmcmahon <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
