QA: Stabilise browser tests
Changes: * Default skin is not configured so noticed on test runs it's using Default skin for desktop mode. Given this has no footer and way to switch to mobile this could be problematic in future. * Remove empty README * Drop suggested language integration test - setting up interwiki links currently happens via InterwikiLoadPrefix hook however this seems to be unreliable. The beta cluster is a much more reliable place to test language links so let's rely on that instead. * Drop unnecessary heading check from "Successful edit" scenario. It's unnecessary and flakey (presumably given the title doesn't change) * Rename test scenario and remove a duplicate scenario Depends-On: I888b3c546f77fa350853a7bf9bfbfbeb8ed6de67 Change-Id: I45792a95df7fd4c3299accbffadfa447baefe0ce
This commit is contained in:
parent
f44487d966
commit
8ad57f9b0e
|
@ -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;
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Coming soon...!
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue