blob: 790109d001f23e620ba2a1ae78e5b41cda87ee9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
'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() );
} );
} );
|