mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-15 02:13:49 +00:00
23 lines
868 B
Gherkin
23 lines
868 B
Gherkin
|
@en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant
|
||
|
Feature: Toggling sections
|
||
|
|
||
|
Background:
|
||
|
Given I am using the mobile site
|
||
|
And I am viewing the site in mobile mode
|
||
|
|
||
|
Scenario: Respect the hash on sections
|
||
|
When I visit the page "Selenium section test page" with hash "#Section_2A"
|
||
|
Then the heading element with id "Section_2A" should be visible
|
||
|
|
||
|
@smoke @integration
|
||
|
Scenario: Opening a section on mobile
|
||
|
Given I go to a page that has sections
|
||
|
When I click on the first collapsible section heading
|
||
|
Then I should see the content of the first section
|
||
|
|
||
|
Scenario: Closing a section on mobile
|
||
|
Given I go to a page that has sections
|
||
|
And I click on the first collapsible section heading
|
||
|
When I click on the first collapsible section heading
|
||
|
Then I should not see the content of the first section
|