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

17 lines
464 B
JavaScript
Raw Normal View History

var assert = require( 'assert' ),
NotificationsPage = require( '../pageobjects/notifications.page' ),
UserLoginPage = require( 'wdio-mediawiki/LoginPage' );
describe( 'Notifications', function () {
it( 'checks for Notifications Page', function () {
UserLoginPage.login( browser.options.username, browser.options.password );
NotificationsPage.open();
assert.strictEqual( NotificationsPage.notificationHeading.getText(), 'Notifications' );
} );
} );