mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-11 23:46:53 +00:00
17 lines
464 B
JavaScript
17 lines
464 B
JavaScript
|
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' );
|
||
|
|
||
|
} );
|
||
|
|
||
|
} );
|