Refactoring Input method menu is not offscreen

Change-Id: Iff83160eb6c99d6109098e431341240a21274665
This commit is contained in:
Niklas Laxström authored and Amir E. Aharoni committed 2013-10-31 13:47:04 +02:00
1 parent 135d1bc2b7
commit 967683c98e
5 files changed
+47 -56

No files matched your search

+10 -26
View File
@@ -52,31 +52,15 @@ input method.
Then I should see the input method indicator
And in it there must be an element with Malayalam text
@login @reset-preferences-after
Scenario: Input method menu is not offscreen
Input method indicator is not offscreen for English and RTL languages.
Given I am logged in
Given I set "English" as the interface language
When I visit page in Vector skin
And I open the input method menu
@commons.wikimedia.beta.wmflabs.org
Scenario Outline: Input method menu is completely visible
Given I visit a random page with <skin> skin and <language> as the interface language
When I open the input method menu
Then I should see the input method menu is not offscreen
Given I am logged in
Given I set "Hebrew" as the interface language
When I visit page in Monobook skin
And I open the input method menu
Then I should see the input method menu is not offscreen
Given I am logged in
Given I set "English" as the interface language
When I visit page in Monobook skin
And I open the input method menu
Then I should see the input method menu is not offscreen
Given I am logged in
Given I set "Hebrew" as the interface language
When I visit page in Vector skin
And I open the input method menu
Then I should see the input method menu is not offscreen
Examples:
| skin | language |
| Vector | English |
| Vector | Hebrew |
| Monobook | English |
#| Monobook | Hebrew |