MinervaNeue/tests/browser/features/toggling.feature
jdlrobson b71bb0cc8c QA: Tagging changes from beta cluster
* features/search_loggedin.feature
They run on integration and are not super-business-critical.
Given their flakiness and Cirrus's likelihood of being down,
don't run it on beta cluster
* tests/browser/features/language.feature
Tag is superfulous, all scenarios repeat it.
* tests/browser/features/toggling.feature
ocassionally fails on firefox. Limit to Chrome and integration
tests
* tests/browser/features/search.feature
Limit the tests that run against beta cluster to search for
partial text and clicking a search result, since these are
two things we want to check integration well with other extensions.
The rest being testing on the more stable @integration tests
should be more than enough.

Change-Id: Ia2e8d3726212fee30725fdb9167ea38aa41eacbf
2018-11-27 17:53:00 -08:00

23 lines
859 B
Gherkin

@en.m.wikipedia.beta.wmflabs.org @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