2020-06-12 22:13:31 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const assert = require( 'assert' ),
|
2019-03-20 00:59:49 +00:00
|
|
|
NotificationsPage = require( '../pageobjects/notifications.page' ),
|
|
|
|
UserLoginPage = require( 'wdio-mediawiki/LoginPage' );
|
|
|
|
|
2024-06-06 05:07:48 +00:00
|
|
|
describe( 'Notifications', () => {
|
2019-03-20 00:59:49 +00:00
|
|
|
|
2024-06-06 05:07:48 +00:00
|
|
|
it( 'checks for Notifications Page @daily', async () => {
|
2019-03-20 00:59:49 +00:00
|
|
|
|
2022-01-16 22:42:52 +00:00
|
|
|
await UserLoginPage.login( browser.config.mwUser, browser.config.mwPwd );
|
|
|
|
await NotificationsPage.open();
|
2019-03-20 00:59:49 +00:00
|
|
|
|
2022-01-16 22:42:52 +00:00
|
|
|
assert.strictEqual( await NotificationsPage.notificationHeading.getText(), 'Notifications' );
|
2019-03-20 00:59:49 +00:00
|
|
|
|
|
|
|
} );
|
|
|
|
|
|
|
|
} );
|