1
0

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
2 changed files with 3 additions and 3 deletions

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')