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:
jdlrobson 2018-03-26 11:24:25 -07:00
parent 0779626a21
commit acb0051bcd
4 changed files with 3 additions and 4 deletions

View File

@ -33,3 +33,5 @@ $wgMFDisplayWikibaseDescriptions = [
'watchlist' => true,
'tagline' => true,
];
$wgMinervaShowCategoriesButton['base'] = true;

View File

@ -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
Scenario: I can view categories
Given I am in a wiki that has categories
And I am using the mobile site
And I am in beta mode
And I am on the "Selenium categories test page" page
When I click on the category button
Then I should see the categories overlay

View File

@ -3,7 +3,6 @@ Feature: Search
Background:
Given I am using the mobile site
And I am in beta mode
And the page "Selenium search test" exists
And I am on the "Main Page" page
And I am viewing the site in mobile mode

View File

@ -3,7 +3,6 @@ Feature: Search
Scenario: Clicking on a watchstar toggles the watchstar
Given I am using the mobile site
And I am in beta mode
And the page "Selenium search test" exists
And I am logged into the mobile website
And I am on the "Main Page" page