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

19 lines
481 B
JavaScript
Raw Normal View History

'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', function () {
UserLoginPage.login( browser.config.mwUser, browser.config.mwPwd );
NotificationsPage.open();
assert.strictEqual( NotificationsPage.notificationHeading.getText(), 'Notifications' );
} );
} );