Skip to content

Commit

Permalink
Fix failing test using cy.root().contains()
Browse files Browse the repository at this point in the history
Fore more details, see:
cypress-io/cypress#17470 (comment)
889163781
  • Loading branch information
wlsf82 committed Jul 29, 2021
1 parent 63d2e9d commit f633b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/integration/live-tat-code-coverage.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Live TAT Code Coverage', () => {

cy.contains('p', 'Congrats, you found it!')
.should('be.visible')
cy.contains('button', 'Reset')
cy.root().contains('button', 'Reset')
.as('resetBtn')
.should('be.visible')

Expand Down

0 comments on commit f633b3d

Please sign in to comment.