Skip to content

Commit

Permalink
test(e2e): reduce test flakes in lookup codes
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 22, 2021
1 parent 33395ed commit bfea354
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/cypress/integration/profiles/mfa/lookup.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ context('2FA lookup secrets', () => {
expect: { email },
type: { email: email, password: password }
})
cy.location('pathname').should('not.include', '/login')
cy.getLookupSecrets().should((c) => {
expect(c).to.not.be.empty
})
cy.getSession()
})

Expand Down

0 comments on commit bfea354

Please sign in to comment.