Files
mediawiki-extensions-Univer…/tests/browser/features/ime.feature
Željko Filipin ff4bc9ba21 Changed Cucumber tags according to the convention
* Replaced @phantomjs-bug with browser specific tags (@firefox
@internet_explorer_10 @phantomjs).
* Replaced @custom-browser tag with @clean tag.
* Deleted cucumber.yml file since it is no longer used.
* Replaced old (no longer implemented) step names with new ones

The convention:

https://www.mediawiki.org/wiki/Manual:Coding_conventions/Selenium#Requir
ed_tags

Paired with: Kartik Mistry
Bug: 60335
Bug: 62477

Change-Id: I54f9ccbaaeb843293fbc1608d53f0e12b6d74cbe
2014-04-11 17:19:42 +02:00

69 lines
2.3 KiB
Gherkin

@firefox @phantomjs
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.
@clean @commons.wikimedia.beta.wmflabs.org @internet_explorer_10
Scenario: Input method indicator is shown
The input method indicator is shown when input field gets a focus.
Given I am at the main page
When I click on an input box
Then I should see the input method indicator
@commons.wikimedia.beta.wmflabs.org @internet_explorer_10
Scenario: Input method menu
Input method menu is shown when user clicks the input method indicator.
Given I am at the main 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
@internet_explorer_10
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
@commons.wikimedia.beta.wmflabs.org
Scenario: Sticky input methods
Chosen input method selection persists across page loads.
Given I am at the main 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 reload the 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
@clean @commons.wikimedia.beta.wmflabs.org @internet_explorer_10
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
Examples:
| skin | language |
| Vector | English |
| Vector | Hebrew |
| Monobook | English |
#| Monobook | Hebrew |