mediawiki-extensions-Echo/tests/selenium/specs/echo.js

19 lines
437 B
JavaScript
Raw Normal View History

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