mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-18 03:31:34 +00:00
436bf80bd8
'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
35 lines
1 KiB
JavaScript
35 lines
1 KiB
JavaScript
'use strict';
|
|
|
|
const {
|
|
iAmOnAPageThatDoesNotExist,
|
|
iAmLoggedIntoTheMobileWebsite
|
|
} = require( './../features/step_definitions/common_steps' ),
|
|
{
|
|
iClickTheEditButton, iSeeTheWikitextEditorOverlay, iClearTheEditor,
|
|
iDoNotSeeTheWikitextEditorOverlay,
|
|
iTypeIntoTheEditor, iClickContinue, iClickSubmit, iSayOkayInTheConfirmDialog,
|
|
thereShouldBeARedLinkWithText
|
|
} = require( './../features/step_definitions/editor_steps' );
|
|
|
|
// @test2.m.wikipedia.org @login
|
|
describe( 'Wikitext Editor (Makes actual saves)', () => {
|
|
|
|
beforeEach( () => {
|
|
iAmLoggedIntoTheMobileWebsite();
|
|
} );
|
|
|
|
// @editing @en.m.wikipedia.beta.wmflabs.org
|
|
it.skip( 'Broken redirects', () => {
|
|
iAmOnAPageThatDoesNotExist();
|
|
iClickTheEditButton();
|
|
iSeeTheWikitextEditorOverlay();
|
|
iClearTheEditor();
|
|
iTypeIntoTheEditor( '#REDIRECT [[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA]]' );
|
|
iClickContinue();
|
|
iClickSubmit();
|
|
iSayOkayInTheConfirmDialog();
|
|
iDoNotSeeTheWikitextEditorOverlay();
|
|
thereShouldBeARedLinkWithText( 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' );
|
|
} );
|
|
} );
|