Arrbee has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/60276


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests 
refs/changes/76/60276/1

diff --git a/features/uls_ime.feature b/features/uls_ime.feature
index 35c118e..ef8f8c0 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
+    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
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/60276
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id37cc9f94fbe22f0cd235182c0b33b81b53d6f38
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Arrbee <run...@gmail.com>

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

Reply via email to