nightmare will wait 3seconds uppon a change for safe navigation on windows until docker database is implemented.
This commit is contained in:
parent
725815678d
commit
d51351a2d7
|
@ -8,7 +8,7 @@ describe('Clients path', () => {
|
|||
it('should log in', done => {
|
||||
nightmare
|
||||
.login()
|
||||
.wait(200)
|
||||
.wait(3000)
|
||||
.wait(selectors.globalItems.topBar)
|
||||
.url()
|
||||
.then(url => {
|
||||
|
@ -21,6 +21,7 @@ describe('Clients path', () => {
|
|||
it('should access to the clients index by clicking the clients button', done => {
|
||||
nightmare
|
||||
.click(selectors.moduleAccessView.clientsSectionButton)
|
||||
.wait(3000)
|
||||
.wait(selectors.clientsView.createClientButton)
|
||||
.url()
|
||||
.then(url => {
|
||||
|
@ -33,7 +34,8 @@ 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()
|
||||
.wait(3000)
|
||||
.wait(selectors.createClientView.createButton)
|
||||
.url()
|
||||
.then(url => {
|
||||
expect(url).toBe(config.url + '#!/create');
|
||||
|
|
Loading…
Reference in New Issue