selenium: Delete tests disabled for more than 1 year

'Redirects' was disabled by Edward Tadros in fbd373b (2021-01-15).

'A newly created topic appears in the list of topics' was disabled by
Jon Robson in d4828b2 (2020-09-24).

Bug: T280652
Change-Id: I63fb62c0c2871ff2713643285cd6e5d878684f83
This commit is contained in:
Željko Filipin 2022-02-16 14:24:57 +01:00
parent bdea18f3d9
commit 436bf80bd8
2 changed files with 4 additions and 34 deletions

View file

@ -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();

View file

@ -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' );
} );
} );