mediawiki-extensions-Echo/tests/selenium/specs/notifications.js
libraryupgrader 0d8e740635 build: Updating npm dependencies
* eslint-config-wikimedia: 0.27.0 → 0.28.0
  The following rules are failing and were disabled:
  * modules:
    * no-jquery/no-extend

* grunt-stylelint: 0.19.0 → 0.20.0
* stylelint-config-wikimedia: 0.16.1 → 0.17.1

Change-Id: I45a64d80ef5aa50b4a1abd871605f52682ab9b5b
2024-06-06 16:47:09 +00:00

19 lines
493 B
JavaScript

'use strict';
const assert = require( 'assert' ),
NotificationsPage = require( '../pageobjects/notifications.page' ),
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();
assert.strictEqual( await NotificationsPage.notificationHeading.getText(), 'Notifications' );
} );
} );