Change test waits (I wish I wouldn't need them)

This commit is contained in:
kolaente 2020-12-18 23:52:15 +01:00
parent f2441a9f2b
commit a2ce7e761c
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ describe('Lists', () => {
.contains('Add')
.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')
.should('contain', 'Success')
cy.url()

View file

@ -22,7 +22,7 @@ describe('User Settings', () => {
.contains('Upload Avatar')
.click()
cy.wait(1000) // Wait for the request to finish
cy.wait(3000) // Wait for the request to finish
cy.get('.global-notification')
.should('contain', 'Success')
})
@ -36,7 +36,7 @@ describe('User Settings', () => {
.contains('Save')
.click()
cy.wait(1000) // Wait for the request to finish
cy.wait(3000) // Wait for the request to finish
cy.get('.global-notification')
.should('contain', 'Success')
cy.get('.navbar .user .username')