Files
mediawiki-extensions-Univer…/tests/browser/features/uls_triggers.feature
Niklas Laxström 2a6ae9f162 More refactoring of tests per feature
Change-Id: Ie9acf09f9bb992f6e03ff6dfbb80e1e20a9d43ca
2013-08-28 14:56:24 +03:00

41 lines
1.6 KiB
Gherkin

@commons.wikimedia.beta.wmflabs.org @en.wikipedia.beta.wmflabs.org
Feature: ULS trigger in personal toolbar
@uls-in-personal-only
Scenario: Open language selector
Given I visit a random page
When I click language selector trigger element
Then I should see the Language selector
@login @uls-in-sidebar-only
Scenario Outline: Opening language settings from sidebar
Given I am <user status>
And I am on <page type>
When I click the cog icon by Languages in the sidebar
Then I see the <user status> language settings panel
Examples:
| user status | page type |
| logged out | a page without interlanguage links |
| logged in | a page with interlanguage links |
| logged out | a talk page without interlanguage links |
| logged out | a talk page with interlanguage links |
@login @uls-in-sidebar-only
Scenario Outline: Closing language settings without saving
Given I am <user status>
And I am on a page without interlanguage links
When I click the cog icon by Languages in the sidebar
And <close method>
Then I do not see the Language Settings panel
And I click the cog icon by Languages in the sidebar
And I see the <user status> language settings panel
Examples:
| user status | close method |
| logged in | I click X |
| logged out | I click Cancel |
# It is weird that this works, since the button is disabled until changes
# have been made
| logged out | I click Apply Settings |