Skip to content

Commit 75c232d

Browse files
committed
fix flaky test
1 parent dc609b4 commit 75c232d

File tree

3 files changed

+513
-703
lines changed

3 files changed

+513
-703
lines changed

cypress/e2e/700_settings.cy.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,26 @@ describe('load homepage', () => {
3636
cy.get('#app').click()
3737
cy.get('button#0').should('exist')
3838
cy.get('button#0').click()
39+
cy.wait(500)
3940
cy.get('#settings_password').should('exist')
4041
cy.get('#settings_password').type('secret')
4142
cy.get('#save').should('exist')
4243
cy.get('#save').click()
44+
cy.get('.v-snackbar__content').should('exist')
4345
cy.visit('http://localhost:8080')
4446
cy.get('.v-carousel').should('exist')
4547
cy.get('button.v-app-bar-nav-icon').should('exist').click()
4648
cy.get('a.v-list-item[href*="/settings"]').click()
4749
cy.get('#settings_password_verify').should('exist')
4850
cy.get('#settings_password_verify').type('secret')
4951
cy.get('#settings_password_verify_ok').click()
50-
cy.get('#app').click({ force: true })
52+
cy.get('#app').click()
53+
cy.get('button#0').should('exist')
54+
cy.get('button#0').click()
55+
cy.wait(500)
5156
cy.get('#settings_password').clear()
5257
cy.get('#save').click()
58+
cy.get('.v-snackbar__content').should('exist')
5359
})
5460

5561
it('modifies most settings, valid values, save', () => {

0 commit comments

Comments
 (0)