mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 10:50:52 +00:00
30de345e97
These are failing consistently due to T172835. Let's not run it in the @chrome job and just rely on the Firefox coverage. We'll keep one test in @chrome as it runs in integration mode (per commit). Change-Id: Ic417148574208389b66249b2d98e009beef70fa2
54 lines
2 KiB
Gherkin
54 lines
2 KiB
Gherkin
@en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @login
|
|
Feature: Wikitext Editor (Makes actual saves)
|
|
|
|
Background:
|
|
Given I am logged into the mobile website
|
|
|
|
@smoke @editing @integration @chrome
|
|
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
|
|
Given I go to a page that has languages
|
|
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
|
|
|
|
@editing
|
|
Scenario: Redirects
|
|
Given the page "Selenium wikitext editor test" exists
|
|
And I am on a page that does not exist
|
|
When I click the edit button
|
|
And I clear the editor
|
|
And I type "#REDIRECT [[Selenium wikitext editor test]]" into the editor
|
|
And I click continue
|
|
And I click submit
|
|
And I say OK in the confirm dialog
|
|
And I do not see the wikitext editor overlay
|
|
Then the text of the first heading should be "Selenium wikitext editor test"
|
|
|
|
@editing
|
|
Scenario: Broken redirects
|
|
Given I am on a page that does not exist
|
|
When I click the edit button
|
|
And I clear the editor
|
|
And I type "#REDIRECT [[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA]]" into the editor
|
|
And I click continue
|
|
And I click submit
|
|
And I say OK in the confirm dialog
|
|
And I do not see the wikitext editor overlay
|
|
Then there should be a red link with text "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
|