Merge "QA: Stabilise browser tests"

This commit is contained in:
jenkins-bot 2018-06-13 14:10:30 +00:00 committed by Gerrit Code Review
commit 1e5d91e1d4
4 changed files with 7 additions and 16 deletions

View File

@ -21,6 +21,10 @@ $wgInterwikiCache = false;
$wgMFEnableBeta = true;
// Set the desktop skin to MinervaNeue. Otherwise, it will try to guess the skin name using the
// class name MinervaNeue which resolves to `minervaneue`.
$wgDefaultSkin = 'minerva';
// needed for testing whether the language button is displayed and disabled
$wgMinervaAlwaysShowLanguageButton = true;

View File

@ -1 +0,0 @@
Coming soon...!

View File

@ -4,20 +4,8 @@ Feature: Wikitext Editor (Makes actual saves)
Background:
Given I am logged into the mobile website
@smoke @editing @integration
Scenario: Successful edit on page without languages shows no language button [bug 63675]
Given the page "Selenium no languages test page" exists
When I click the edit button
And I see the wikitext editor overlay
And I type "ABC GHI" into the editor
And I click continue
And I click submit
And I do not see the wikitext editor overlay
Then I should see a toast notification
And the text of the first heading should be "Selenium no languages test page"
@editing
Scenario: Successful edit reloads language button
@editing @integration
Scenario: It is possible to edit
Given I go to a page that has languages
When I click the edit button
And I see the wikitext editor overlay

View File

@ -56,7 +56,7 @@ Feature: Language selection
Then I should not see a suggested language link
Then I should see a non-suggested language link
@smoke @en.m.wikipedia.beta.wmflabs.org @integration
@smoke @en.m.wikipedia.beta.wmflabs.org
Scenario: Checking that the suggested language link has been created
Given I go to a page that has languages
And I click the switch-language page action