mediawiki-extensions-Relate.../tests/browser/features/read_more.feature
jdlrobson 1db93f0d14 QA: Add extension tags to tests
Certain tests only work when certain tests are installed. Tag them

Bug: T120715
Change-Id: I6b4333e5c45c41fc5699bf18f6b3a76556290df6
2015-12-07 20:27:25 +00:00

34 lines
1.2 KiB
Gherkin

@staging @integration
Feature: ReadMore
Background:
Given RelatedArticles test pages are installed
@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
@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
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