2020-06-12 22:13:31 +00:00
|
|
|
'use strict';
|
|
|
|
|
2024-11-07 16:01:38 +00:00
|
|
|
const NotificationsPage = require( '../pageobjects/notifications.page' );
|
|
|
|
const UserLoginPage = require( 'wdio-mediawiki/LoginPage' );
|
2019-03-20 00:59:49 +00:00
|
|
|
|
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
|
|
|
|
2024-11-07 16:01:38 +00:00
|
|
|
await expect( await NotificationsPage.notificationHeading ).toHaveText( 'Notifications' );
|
2019-03-20 00:59:49 +00:00
|
|
|
|
|
|
|
} );
|
|
|
|
|
|
|
|
} );
|