From 59a533473c87790af279f23ab7be37568a858580 Mon Sep 17 00:00:00 2001 From: Carlos Date: Mon, 18 Sep 2017 16:01:52 +0200 Subject: [PATCH] removed ms wait to check selector waits on windows --- e2e/paths/create_client_path.spec.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/e2e/paths/create_client_path.spec.js b/e2e/paths/create_client_path.spec.js index 2f7cf72c8..6c31d77cd 100644 --- a/e2e/paths/create_client_path.spec.js +++ b/e2e/paths/create_client_path.spec.js @@ -4,15 +4,12 @@ import selectors from '../helpers/selectors.js'; import {catchErrors} from '../../services/utils/jasmineHelpers'; const nightmare = createNightmare(); -let longWait = 3000; - -// jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000; +jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000; describe('Clients path', () => { it('should log in', done => { nightmare .login() - .wait(longWait) .wait(selectors.globalItems.topBar) .url() .then(url => { @@ -25,7 +22,6 @@ describe('Clients path', () => { it('should access to the clients index by clicking the clients button', done => { nightmare .click(selectors.moduleAccessView.clientsSectionButton) - .wait(longWait) .wait(selectors.clientsView.createClientButton) .url() .then(url => { @@ -52,7 +48,6 @@ describe('Clients path', () => { it('should access to the create client view by clicking the create-client floating button', done => { nightmare .click(selectors.clientsView.createClientButton) - .wait(longWait) .wait(selectors.createClientView.createButton) .url() .then(url => {