mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-11 07:26:29 +00:00
6aa871293e
Bug: T171848 Change-Id: Ib6a08c6a34ef6a4bef8a81f49fed8aae67dc67dc
19 lines
437 B
JavaScript
19 lines
437 B
JavaScript
'use strict';
|
|
|
|
var assert = require( 'assert' ),
|
|
EchoPage = require( '../pageobjects/echo.page' ),
|
|
UserLoginPage = require( 'wdio-mediawiki/LoginPage' );
|
|
|
|
describe( 'Echo', function () {
|
|
|
|
it( 'alerts and notices are visible after logging in', function () {
|
|
|
|
UserLoginPage.login( browser.options.username, browser.options.password );
|
|
|
|
assert( EchoPage.alerts.isExisting() );
|
|
assert( EchoPage.notices.isExisting() );
|
|
|
|
} );
|
|
|
|
} );
|