mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 15:36:58 +00:00
selenium: Delete tests disabled more than two years ago
Bug: T280652 Change-Id: I9bdff690e3a8dc0d04c093dad7603cfdd3737a50
This commit is contained in:
parent
d322fde727
commit
6db6e95252
|
@ -2,17 +2,9 @@
|
|||
|
||||
const assert = require( 'assert' ),
|
||||
EchoPage = require( '../pageobjects/echo.page' ),
|
||||
UserLoginPage = require( 'wdio-mediawiki/LoginPage' ),
|
||||
Util = require( 'wdio-mediawiki/Util' ),
|
||||
Api = require( 'wdio-mediawiki/Api' );
|
||||
UserLoginPage = require( 'wdio-mediawiki/LoginPage' );
|
||||
|
||||
describe( 'Echo', () => {
|
||||
let bot;
|
||||
|
||||
before( async () => {
|
||||
bot = await Api.bot();
|
||||
} );
|
||||
|
||||
it( 'alerts and notices are visible after logging in @daily', async () => {
|
||||
|
||||
await UserLoginPage.login( browser.config.mwUser, browser.config.mwPwd );
|
||||
|
@ -41,23 +33,4 @@ describe( 'Echo', () => {
|
|||
assert( EchoPage.noticesFlyout.isExisting() );
|
||||
|
||||
} );
|
||||
|
||||
// Skipped on 2022-01-17 in 754491 because of T299339
|
||||
it.skip( 'checks for welcome message after signup', async () => {
|
||||
|
||||
const username = Util.getTestString( 'NewUser-' );
|
||||
const password = Util.getTestString();
|
||||
|
||||
await Api.createAccount( bot, username, password );
|
||||
|
||||
await UserLoginPage.login( username, password );
|
||||
|
||||
await EchoPage.notices.click();
|
||||
|
||||
await EchoPage.alertMessage.waitForDisplayed();
|
||||
const regexp = /Welcome to .*, .*! We're glad you're here./;
|
||||
assert( regexp.test( await EchoPage.alertMessage.getText() ) );
|
||||
|
||||
} );
|
||||
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue