X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fselenium%2Fspecs%2Fuser.js;h=1db49aef5966bf2f9d3271807f9aa23a680d5384;hb=97c13ffeb854180843492046be6696cb0d49099e;hp=4884dedcbbd4985a87a7bc3449f0e083360ddfac;hpb=d9327f9a57213488ed35b6a5dd532feb4f70125f;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/selenium/specs/user.js b/tests/selenium/specs/user.js index 4884dedcbb..1db49aef59 100644 --- a/tests/selenium/specs/user.js +++ b/tests/selenium/specs/user.js @@ -1,4 +1,5 @@ const assert = require( 'assert' ), + BlankPage = require( 'wdio-mediawiki/BlankPage' ), CreateAccountPage = require( '../pageobjects/createaccount.page' ), PreferencesPage = require( '../pageobjects/preferences.page' ), UserLoginPage = require( 'wdio-mediawiki/LoginPage' ), @@ -11,7 +12,7 @@ describe( 'User', function () { before( function () { // disable VisualEditor welcome dialog - UserLoginPage.open(); + BlankPage.open(); browser.localStorage( 'POST', { key: 've-beta-welcome-dialog', value: '1' } ); } ); @@ -29,7 +30,7 @@ describe( 'User', function () { assert.strictEqual( CreateAccountPage.heading.getText(), `Welcome, ${username}!` ); } ); - it( 'should be able to log in', function () { + it( 'should be able to log in @daily', function () { // create browser.call( function () { return Api.createAccount( username, password );