Merge "QA: Stabilise browser tests"
This commit is contained in:
commit
1e5d91e1d4
|
@ -21,6 +21,10 @@ $wgInterwikiCache = false;
|
||||||
|
|
||||||
$wgMFEnableBeta = true;
|
$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
|
// needed for testing whether the language button is displayed and disabled
|
||||||
$wgMinervaAlwaysShowLanguageButton = true;
|
$wgMinervaAlwaysShowLanguageButton = true;
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Coming soon...!
|
|
|
@ -4,20 +4,8 @@ Feature: Wikitext Editor (Makes actual saves)
|
||||||
Background:
|
Background:
|
||||||
Given I am logged into the mobile website
|
Given I am logged into the mobile website
|
||||||
|
|
||||||
@smoke @editing @integration
|
@editing @integration
|
||||||
Scenario: Successful edit on page without languages shows no language button [bug 63675]
|
Scenario: It is possible to edit
|
||||||
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
|
|
||||||
Given I go to a page that has languages
|
Given I go to a page that has languages
|
||||||
When I click the edit button
|
When I click the edit button
|
||||||
And I see the wikitext editor overlay
|
And I see the wikitext editor overlay
|
||||||
|
|
|
@ -56,7 +56,7 @@ Feature: Language selection
|
||||||
Then I should not see a suggested language link
|
Then I should not see a suggested language link
|
||||||
Then I should see a non-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
|
Scenario: Checking that the suggested language link has been created
|
||||||
Given I go to a page that has languages
|
Given I go to a page that has languages
|
||||||
And I click the switch-language page action
|
And I click the switch-language page action
|
||||||
|
|
Loading…
Reference in New Issue