Cleanup: removed ULS from file names and feature names
Change-Id: Id45289ba710b9b543744655f8fbd0f9483923956
This commit is contained in:
80
tests/browser/features/ime.feature
Normal file
80
tests/browser/features/ime.feature
Normal file
@@ -0,0 +1,80 @@
|
||||
@commons.wikimedia.beta.wmflabs.org
|
||||
Feature: Input method engine
|
||||
|
||||
User is able to select among different input methods via a menu which is
|
||||
activated by the input method indicator. User can type with selected input
|
||||
method in different input fields and temporarily activate and deactivate the
|
||||
input method.
|
||||
|
||||
Scenario: Input method indicator is shown
|
||||
|
||||
The input method indicator is shown when input field gets a focus.
|
||||
|
||||
Given I am at random page
|
||||
When I click on an input box
|
||||
Then I should see the input method indicator
|
||||
|
||||
Scenario: Input method menu
|
||||
|
||||
Input method menu is shown when user clicks the input method indicator.
|
||||
|
||||
Given I am at random page
|
||||
When I click on an input box
|
||||
And I click on the input method indicator
|
||||
Then I should see input methods for English
|
||||
And I should see a list of available input methods
|
||||
And I should see a list of suggested languages
|
||||
|
||||
Scenario: Unsupported input language
|
||||
|
||||
User visits a wiki with content language that does not have have an input
|
||||
method.
|
||||
|
||||
Given I am on a wiki in Kotava language
|
||||
When I open the input method menu
|
||||
Then I should see input methods for Kotava
|
||||
|
||||
Scenario: Sticky input methods
|
||||
|
||||
Chosen input method selection persists across page loads.
|
||||
|
||||
Given I am at random page
|
||||
When I open the input method menu
|
||||
And I choose ml as the input language
|
||||
And I open the input method menu
|
||||
And I click on the Malayalam InScript 2 menu item
|
||||
And I press Control-M
|
||||
And I go to another random page
|
||||
And I click on an input box
|
||||
And I press Control-M
|
||||
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
|
||||
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
|
||||
Reference in New Issue
Block a user