mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-19 03:11:29 +00:00
23ac1201a5
Assertions from Expect library are more readable that assertions from Assert library. Bug: T325740 Change-Id: I8c31444538670e1500574415cec3a4d54d3798b4
18 lines
464 B
JavaScript
18 lines
464 B
JavaScript
'use strict';
|
|
|
|
const NotificationsPage = require( '../pageobjects/notifications.page' );
|
|
const UserLoginPage = require( 'wdio-mediawiki/LoginPage' );
|
|
|
|
describe( 'Notifications', () => {
|
|
|
|
it( 'checks for Notifications Page @daily', async () => {
|
|
|
|
await UserLoginPage.login( browser.config.mwUser, browser.config.mwPwd );
|
|
await NotificationsPage.open();
|
|
|
|
await expect( await NotificationsPage.notificationHeading ).toHaveText( 'Notifications' );
|
|
|
|
} );
|
|
|
|
} );
|