mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-11 15:38:37 +00:00
9903581028
WebdriverIO has dropped support of sync mode due to breaking changes in Chromium, hence all tests of Echo have been changed to async. Bug: T293073 Change-Id: I8327d33c99e495b109d97df7b525181dfc41c18d
19 lines
505 B
JavaScript
19 lines
505 B
JavaScript
'use strict';
|
|
|
|
const assert = require( 'assert' ),
|
|
NotificationsPage = require( '../pageobjects/notifications.page' ),
|
|
UserLoginPage = require( 'wdio-mediawiki/LoginPage' );
|
|
|
|
describe( 'Notifications', function () {
|
|
|
|
it( 'checks for Notifications Page @daily', async function () {
|
|
|
|
await UserLoginPage.login( browser.config.mwUser, browser.config.mwPwd );
|
|
await NotificationsPage.open();
|
|
|
|
assert.strictEqual( await NotificationsPage.notificationHeading.getText(), 'Notifications' );
|
|
|
|
} );
|
|
|
|
} );
|