mediawiki-extensions-Relate.../tests/browser/features/read_more.feature
Željko Filipin 3ca8ef02ad Fixed Selenium tests
Tests now run fine on my local machine and at beta cluster. Please
notice that the first three scenarios run at mobile site, and the fourth
one runs at desktop site.

Bug: T120715
Change-Id: Ib57f48b01d909915ae44976aa51824b4530ffffc
2016-02-13 01:52:28 +00:00

35 lines
1.3 KiB
Gherkin

@chrome @integration @staging
Feature: ReadMore
Background:
Given RelatedArticles test pages are installed
@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
@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
@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
@en.wikipedia.beta.wmflabs.org @extension-betafeatures
Scenario: ReadMore is present when enabled as a BetaFeature
Given I am logged in
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