mediawiki-extensions-Relate.../tests/browser/features/read_more.feature
Željko Filipin 33abf32c8c Fixed failing Selenium Jenkins job
The job requires features/scenarios tagged with environment
(@en.m.wikipedia.beta.wmflabs.org) and browser (@chrome) to run
properly.

I did not tag the last scenario, since it failed.

Bug: T126589
Change-Id: Ib99c50657f7a68d0b00048aac96c2f2892e89713
2016-02-11 11:47:04 +01:00

35 lines
1.3 KiB
Gherkin

@staging @integration
Feature: ReadMore
Background:
Given RelatedArticles test pages are installed
@chrome @en.m.wikipedia.beta.wmflabs.org @extension-mobilefrontend
Scenario: ReadMore is not present in minerva stable
Given I am using the mobile site
And I am on the "Related Articles 1" page
And page has fully loaded without ReadMore code
Then I must not see ReadMore
@chrome @en.m.wikipedia.beta.wmflabs.org @extension-mobilefrontend
Scenario: ReadMore is present in minerva beta
Given I am using the mobile site
And I am in mobile beta mode
And I am on the "Related Articles 1" page
And page has fully loaded with ReadMore code
Then I must see ReadMore
And ReadMore must have three cards
@chrome @en.m.wikipedia.beta.wmflabs.org
Scenario: ReadMore is not present when disabled as a BetaFeature
Given I am on the "Related Articles 1" page
And page has fully loaded without ReadMore code
Then I must not see ReadMore
@extension-betafeatures
Scenario: ReadMore is present when enabled as a BetaFeature
Given I am logged into the website
And ReadMore is enabled as a beta feature
And I am on the "Related Articles 1" page
And page has fully loaded with ReadMore code
Then I must see ReadMore