Change test waits (I wish I wouldn't need them)
This commit is contained in:
parent
f2441a9f2b
commit
a2ce7e761c
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ describe('Lists', () => {
|
||||||
.contains('Add')
|
.contains('Add')
|
||||||
.click()
|
.click()
|
||||||
|
|
||||||
cy.wait(3000) // Waiting until the request to create the new list is done
|
cy.wait(1000) // Waiting until the request to create the new list is done
|
||||||
cy.get('.global-notification')
|
cy.get('.global-notification')
|
||||||
.should('contain', 'Success')
|
.should('contain', 'Success')
|
||||||
cy.url()
|
cy.url()
|
||||||
|
|
|
@ -22,7 +22,7 @@ describe('User Settings', () => {
|
||||||
.contains('Upload Avatar')
|
.contains('Upload Avatar')
|
||||||
.click()
|
.click()
|
||||||
|
|
||||||
cy.wait(1000) // Wait for the request to finish
|
cy.wait(3000) // Wait for the request to finish
|
||||||
cy.get('.global-notification')
|
cy.get('.global-notification')
|
||||||
.should('contain', 'Success')
|
.should('contain', 'Success')
|
||||||
})
|
})
|
||||||
|
@ -36,7 +36,7 @@ describe('User Settings', () => {
|
||||||
.contains('Save')
|
.contains('Save')
|
||||||
.click()
|
.click()
|
||||||
|
|
||||||
cy.wait(1000) // Wait for the request to finish
|
cy.wait(3000) // Wait for the request to finish
|
||||||
cy.get('.global-notification')
|
cy.get('.global-notification')
|
||||||
.should('contain', 'Success')
|
.should('contain', 'Success')
|
||||||
cy.get('.navbar .user .username')
|
cy.get('.navbar .user .username')
|
||||||
|
|
Loading…
Reference in a new issue