mediawiki-extensions-Echo/tests/selenium/specs/notifications.js

19 lines
493 B
JavaScript
Raw Normal View History

'use strict';
const assert = require( 'assert' ),
NotificationsPage = require( '../pageobjects/notifications.page' ),
UserLoginPage = require( 'wdio-mediawiki/LoginPage' );
describe( 'Notifications', () => {
it( 'checks for Notifications Page @daily', async () => {
await UserLoginPage.login( browser.config.mwUser, browser.config.mwPwd );
await NotificationsPage.open();
assert.strictEqual( await NotificationsPage.notificationHeading.getText(), 'Notifications' );
} );
} );