Selenium: Hide VE welcome and beta dialogs
[lhc/web/wiklou.git] / tests / selenium / specs / user.js
index 4884ded..2558881 100644 (file)
@@ -9,14 +9,8 @@ describe( 'User', function () {
        var password,
                username;
 
-       before( function () {
-               // disable VisualEditor welcome dialog
-               UserLoginPage.open();
-               browser.localStorage( 'POST', { key: 've-beta-welcome-dialog', value: '1' } );
-       } );
-
        beforeEach( function () {
-               browser.deleteCookie();
+               browser.deleteAllCookies();
                username = Util.getTestString( 'User-' );
                password = Util.getTestString();
        } );
@@ -29,7 +23,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 );