Skip to content

Commit

Permalink
test: add a wait before checking
Browse files Browse the repository at this point in the history
  • Loading branch information
g-saracca committed Dec 5, 2024
1 parent f698b57 commit f12fc28
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ describe('ValidTokenNotLinkedAccountForm', () => {
</AuthContext.Provider>
)

cy.wait(300)

cy.findByTestId('termsAcceptedCheckbox').check({ force: true })

cy.wait(300)
Expand Down Expand Up @@ -159,6 +161,8 @@ describe('ValidTokenNotLinkedAccountForm', () => {
// Assert that submit button is disabled if terms are not accepted
cy.findByRole('button', { name: 'Create Account' }).should('be.disabled')

cy.wait(300)

cy.findByTestId('termsAcceptedCheckbox').check({ force: true })

cy.wait(300)
Expand Down

0 comments on commit f12fc28

Please sign in to comment.