mirror of
https://github.com/cypress-io/cypress.git
synced 2026-03-01 12:29:24 -06:00
chore: fix flaky spec.js test where elements were not visible (#31525)
This commit is contained in:
@@ -647,7 +647,8 @@ describe('App: Specs', () => {
|
||||
})
|
||||
|
||||
cy.contains('Review the docs')
|
||||
.should('have.attr', 'href', 'https://on.cypress.io/styling-components')
|
||||
.should('be.visible')
|
||||
.and('have.attr', 'href', 'https://on.cypress.io/styling-components')
|
||||
|
||||
cy.log('should not contain the link if you navigate away and back')
|
||||
cy.get('body').type('f')
|
||||
|
||||
Reference in New Issue
Block a user