Disable some more flaky/broken selenium tests
[lhc/web/wiklou.git] / tests / selenium / specs / user.js
index 102acd6..85e71ef 100644 (file)
@@ -2,9 +2,7 @@
 const assert = require( 'assert' ),
        CreateAccountPage = require( '../pageobjects/createaccount.page' ),
        PreferencesPage = require( '../pageobjects/preferences.page' ),
-       UserLoginPage = require( '../pageobjects/userlogin.page' ),
-       UserMessagePage = require( '../pageobjects/usermessage.page' ),
-       EditPage = require( '../pageobjects/edit.page' );
+       UserLoginPage = require( '../pageobjects/userlogin.page' );
 
 describe( 'User', function () {
 
@@ -23,7 +21,8 @@ describe( 'User', function () {
                password = Math.random().toString();
        } );
 
-       it( 'should be able to create account', function () {
+       // Disable due to broken/flakiness (T247580)
+       it.skip( 'should be able to create account', function () {
 
                // create
                CreateAccountPage.createAccount( username, password );
@@ -33,7 +32,8 @@ describe( 'User', function () {
 
        } );
 
-       it( 'should be able to log in', function () {
+       // Disable due to broken/flakiness (T247580)
+       it.skip( 'should be able to log in', function () {
 
                // create
                browser.call( function () {
@@ -48,8 +48,8 @@ describe( 'User', function () {
 
        } );
 
-       it( 'should be able to change preferences', function () {
-
+       // Disabled due to flakiness (T199446)
+       it.skip( 'should be able to change preferences', function () {
                var realName = Math.random().toString();
 
                // create
@@ -68,24 +68,4 @@ describe( 'User', function () {
 
        } );
 
-       it( 'should be able to view new message banner', function () {
-
-               // create user
-               browser.call( function () {
-                       return CreateAccountPage.apiCreateAccount( username, password );
-               } );
-
-               // create talk page with content
-               browser.call( function () {
-                       return EditPage.apiEdit( 'User_talk:' + username, Math.random().toString() );
-               } );
-
-               // log in
-               UserLoginPage.login( username, password );
-
-               // check
-               assert.equal( UserMessagePage.usermessage.getText(), 'You have a new message (last change).' );
-
-       } );
-
 } );