Skip to content

Commit d0a40c6

Browse files
committed
test(e2e): try different locator
1 parent c0c9d3f commit d0a40c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/e2e/about.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('About page', () => {
1111

1212
it('should navigate to the about page and back via header link', () => {
1313
cy.get('h1').contains('About')
14-
cy.get('[cy-data="home-nav-link"] > .active').click()
14+
cy.get('[cy-data="home-nav-link"]').click()
1515
cy.get('h1').contains('Redux + TypeScript')
1616
})
1717
})

0 commit comments

Comments
 (0)