mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
a9533fc463
Two tests are failing. These are false positives that obscure real failures. Both are removed for the following reason. 1) Editor test is covered by the redirect tests - failing due to concurrent edits (possibly because multiple browser tests act on the same page at the same time). However, editing is already covered by the other 2 cases. 2) Remove unwatch test - this is failing as there is a problem in the setup - the page starts unwatched when it should be watched. The test for checking that an article can be watched should suffice here. Bug: T224947 Change-Id: I3049e1b190c3cb2ddc198a45681f59782f770d6a
31 lines
1.1 KiB
Gherkin
31 lines
1.1 KiB
Gherkin
@test2.m.wikipedia.org @login
|
|
Feature: Wikitext Editor (Makes actual saves)
|
|
|
|
Background:
|
|
Given I am logged into the mobile website
|
|
|
|
@editing @en.m.wikipedia.beta.wmflabs.org
|
|
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 @en.m.wikipedia.beta.wmflabs.org
|
|
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"
|