mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-23 22:03:39 +00:00
selenium: Delete tests disabled for more than 1 year
'Redirects' was disabled by Edward Tadros infbd373b
(2021-01-15). 'A newly created topic appears in the list of topics' was disabled by Jon Robson ind4828b2
(2020-09-24). Bug: T280652 Change-Id: I63fb62c0c2871ff2713643285cd6e5d878684f83
This commit is contained in:
parent
bdea18f3d9
commit
436bf80bd8
|
@ -1,14 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
const {
|
||||
pageExists, iAmOnAPageThatDoesNotExist,
|
||||
iAmOnAPageThatDoesNotExist,
|
||||
iAmLoggedIntoTheMobileWebsite
|
||||
} = require( './../features/step_definitions/common_steps' ),
|
||||
{
|
||||
iClickTheEditButton, iSeeTheWikitextEditorOverlay, iClearTheEditor,
|
||||
iDoNotSeeTheWikitextEditorOverlay,
|
||||
iTypeIntoTheEditor, iClickContinue, iClickSubmit, iSayOkayInTheConfirmDialog,
|
||||
theTextOfTheFirstHeadingShouldBe, thereShouldBeARedLinkWithText
|
||||
thereShouldBeARedLinkWithText
|
||||
} = require( './../features/step_definitions/editor_steps' );
|
||||
|
||||
// @test2.m.wikipedia.org @login
|
||||
|
@ -18,22 +18,6 @@ describe( 'Wikitext Editor (Makes actual saves)', () => {
|
|||
iAmLoggedIntoTheMobileWebsite();
|
||||
} );
|
||||
|
||||
// @editing @en.m.wikipedia.beta.wmflabs.org
|
||||
it.skip( 'Redirects', () => {
|
||||
const title = 'Selenium wikitext editor test ' + Math.random();
|
||||
pageExists( title );
|
||||
iAmOnAPageThatDoesNotExist();
|
||||
iClickTheEditButton();
|
||||
iSeeTheWikitextEditorOverlay();
|
||||
iClearTheEditor();
|
||||
iTypeIntoTheEditor( `#REDIRECT [[${title}]]` );
|
||||
iClickContinue();
|
||||
iClickSubmit();
|
||||
iSayOkayInTheConfirmDialog();
|
||||
iDoNotSeeTheWikitextEditorOverlay();
|
||||
theTextOfTheFirstHeadingShouldBe( title );
|
||||
} );
|
||||
|
||||
// @editing @en.m.wikipedia.beta.wmflabs.org
|
||||
it.skip( 'Broken redirects', () => {
|
||||
iAmOnAPageThatDoesNotExist();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
const { iAmOnATalkPageWithNoTalkTopics } = require( '../features/step_definitions/create_page_api_steps' ),
|
||||
const
|
||||
{
|
||||
pageExists, iAmOnAPageThatDoesNotExist,
|
||||
iAmUsingTheMobileSite,
|
||||
|
@ -9,14 +9,10 @@ const { iAmOnATalkPageWithNoTalkTopics } = require( '../features/step_definition
|
|||
} = require( '../features/step_definitions/common_steps' ),
|
||||
{
|
||||
iClickTheAddTalkButton,
|
||||
iAddATopic,
|
||||
iSeeTheTalkOverlay,
|
||||
thereShouldBeASaveDiscussionButton,
|
||||
noTopicIsPresent,
|
||||
thereShouldBeAnAddDiscussionButton,
|
||||
thereShouldBeATalkTab,
|
||||
thereShouldBeNoTalkButton,
|
||||
iShouldSeeTheTopicInTheListOfTopics
|
||||
thereShouldBeNoTalkButton
|
||||
} = require( '../features/step_definitions/talk_steps' );
|
||||
|
||||
// @chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant
|
||||
|
@ -65,14 +61,4 @@ describe( 'Talk', () => {
|
|||
thereShouldBeASaveDiscussionButton();
|
||||
} );
|
||||
|
||||
it.skip( 'A newly created topic appears in the list of topics', () => {
|
||||
iAmLoggedIntoTheMobileWebsite();
|
||||
iAmOnATalkPageWithNoTalkTopics();
|
||||
noTopicIsPresent();
|
||||
iClickTheAddTalkButton();
|
||||
iSeeTheTalkOverlay();
|
||||
iAddATopic( 'New topic' );
|
||||
iShouldSeeTheTopicInTheListOfTopics( 'New topic' );
|
||||
} );
|
||||
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue