mediawiki-extensions-Echo/tests/selenium/specs/notifications.js
ephemeralwaves 05f3e66a9d Selenium: Fix failing test by only running tests tagged @daily
Changed `selenium-daily` npm script to only run tests tagged `@daily`
and removed `it.skip` on tests failing in beta cluster.

Bug:T227009
Change-Id: Id2edbfd941df098d326fa30ed9dc9f68e228f021
2019-07-05 10:58:19 +00:00

17 lines
471 B
JavaScript

var assert = require( 'assert' ),
NotificationsPage = require( '../pageobjects/notifications.page' ),
UserLoginPage = require( 'wdio-mediawiki/LoginPage' );
describe( 'Notifications', function () {
it( 'checks for Notifications Page @daily', function () {
UserLoginPage.login( browser.options.username, browser.options.password );
NotificationsPage.open();
assert.strictEqual( NotificationsPage.notificationHeading.getText(), 'Notifications' );
} );
} );