2016-02-11 16:30:05 +00:00
|
|
|
@chrome @integration @staging
|
2015-12-02 12:58:40 +00:00
|
|
|
Feature: ReadMore
|
|
|
|
Background:
|
|
|
|
Given RelatedArticles test pages are installed
|
|
|
|
|
2016-02-11 16:30:05 +00:00
|
|
|
@en.m.wikipedia.beta.wmflabs.org @extension-mobilefrontend
|
2015-12-02 12:58:40 +00:00
|
|
|
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
|
|
|
|
|
2016-02-11 16:30:05 +00:00
|
|
|
@en.m.wikipedia.beta.wmflabs.org @extension-mobilefrontend
|
2015-12-02 12:58:40 +00:00
|
|
|
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
|
|
|
|
|
2016-02-11 16:30:05 +00:00
|
|
|
@en.m.wikipedia.beta.wmflabs.org
|
2015-12-02 12:58:40 +00:00
|
|
|
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
|
|
|
|
|
2016-02-11 16:30:05 +00:00
|
|
|
@en.wikipedia.beta.wmflabs.org @extension-betafeatures
|
2015-12-02 12:58:40 +00:00
|
|
|
Scenario: ReadMore is present when enabled as a BetaFeature
|
2016-02-11 16:30:05 +00:00
|
|
|
Given I am logged in
|
2015-12-02 12:58:40 +00:00
|
|
|
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
|