mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-11 23:46:53 +00:00
319808de5d
Open the notifications page and check that the notification heading is present. Bug: T217051 Change-Id: I357e83eca9f6d6fe380ec6996fb557d578a76912
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' );
|
|
|
|
} );
|
|
|
|
} );
|