Refactoring Input method menu is not offscreen

Change-Id: Iff83160eb6c99d6109098e431341240a21274665
This commit is contained in:
Niklas Laxström
2013-10-30 12:13:51 +02:00
committed by Amir E. Aharoni
parent 135d1bc2b7
commit 967683c98e
5 changed files with 47 additions and 56 deletions

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 |