removed ms wait to check selector waits on windows

This commit is contained in:
Carlos 2017-09-18 16:01:52 +02:00
parent e31e2269f8
commit 59a533473c
1 changed files with 1 additions and 6 deletions

View File

@ -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 => {