QA: Speed up browser tests by not unnecessarily opting into beta
We only need to opt into beta to test the beta indicator displays. There is no need to do this anywhere else in our browser tests. For the categories test we will enable the feature flag in test mode and not run it against the beta cluster. Bug: T174018 Change-Id: I83b5f24236cef6ddd6fc1882bdfff3618a8bf599
This commit is contained in:
parent
0779626a21
commit
acb0051bcd
|
@ -33,3 +33,5 @@ $wgMFDisplayWikibaseDescriptions = [
|
||||||
'watchlist' => true,
|
'watchlist' => true,
|
||||||
'tagline' => true,
|
'tagline' => true,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
$wgMinervaShowCategoriesButton['base'] = true;
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant @login
|
@chrome @firefox @test2.m.wikipedia.org @vagrant @login
|
||||||
Feature: Categories
|
Feature: Categories
|
||||||
|
|
||||||
Scenario: I can view categories
|
Scenario: I can view categories
|
||||||
Given I am in a wiki that has categories
|
Given I am in a wiki that has categories
|
||||||
And I am using the mobile site
|
And I am using the mobile site
|
||||||
And I am in beta mode
|
|
||||||
And I am on the "Selenium categories test page" page
|
And I am on the "Selenium categories test page" page
|
||||||
When I click on the category button
|
When I click on the category button
|
||||||
Then I should see the categories overlay
|
Then I should see the categories overlay
|
||||||
|
|
|
@ -3,7 +3,6 @@ Feature: Search
|
||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given I am using the mobile site
|
Given I am using the mobile site
|
||||||
And I am in beta mode
|
|
||||||
And the page "Selenium search test" exists
|
And the page "Selenium search test" exists
|
||||||
And I am on the "Main Page" page
|
And I am on the "Main Page" page
|
||||||
And I am viewing the site in mobile mode
|
And I am viewing the site in mobile mode
|
||||||
|
|
|
@ -3,7 +3,6 @@ Feature: Search
|
||||||
|
|
||||||
Scenario: Clicking on a watchstar toggles the watchstar
|
Scenario: Clicking on a watchstar toggles the watchstar
|
||||||
Given I am using the mobile site
|
Given I am using the mobile site
|
||||||
And I am in beta mode
|
|
||||||
And the page "Selenium search test" exists
|
And the page "Selenium search test" exists
|
||||||
And I am logged into the mobile website
|
And I am logged into the mobile website
|
||||||
And I am on the "Main Page" page
|
And I am on the "Main Page" page
|
||||||
|
|
Loading…
Reference in New Issue