Zfilipin has submitted this change and it was merged.

Change subject: Rewritten and added the ULS IME test scenarios
......................................................................


Rewritten and added the ULS IME test scenarios

The descriptions for the ULS IME test scenarios have been updated
with more information on what the tests are to accomplish.

Change-Id: Id37cc9f94fbe22f0cd235182c0b33b81b53d6f38
---
M features/uls_ime.feature
1 file changed, 50 insertions(+), 0 deletions(-)

Approvals:
  Zfilipin: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/features/uls_ime.feature b/features/uls_ime.feature
index 35c118e..8c21494 100644
--- a/features/uls_ime.feature
+++ b/features/uls_ime.feature
@@ -4,3 +4,53 @@
     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/60276
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id37cc9f94fbe22f0cd235182c0b33b81b53d6f38
Gerrit-PatchSet: 3
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Arrbee <run...@gmail.com>
Gerrit-Reviewer: Arrbee <run...@gmail.com>
Gerrit-Reviewer: Cmcmahon <cmcma...@wikimedia.org>
Gerrit-Reviewer: Siebrand <siebr...@wikimedia.org>
Gerrit-Reviewer: Zfilipin <zfili...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to