mediawiki-extensions-Echo/tests/selenium/specs/notifications.js
Željko Filipin 23ac1201a5 selenium: Replace Node.js Assert library with WebdriverIO Expect library
Assertions from Expect library are more readable that assertions from Assert library.

Bug: T325740
Change-Id: I8c31444538670e1500574415cec3a4d54d3798b4
2024-11-21 14:20:21 +01:00

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' );
} );
} );