We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b53f12e commit 2acbb19Copy full SHA for 2acbb19
cypress/integration/about.spec.js
@@ -0,0 +1,17 @@
1
+describe('About page', () => {
2
+ beforeEach(() => {
3
+ cy.visit('/about')
4
+ })
5
+
6
+ it('should navigate to the page and go back via "Go back" button', () => {
7
+ cy.get('h1').contains('About')
8
+ cy.get('[cy-data="go-back-button"]').click()
9
+ cy.get('h1').contains('Redux + TypeScript')
10
11
12
+ it('should navigate to the about page and back via header link', () => {
13
14
+ cy.get('[cy-data="home-nav-link"] > .active').click()
15
16
17
+})
0 commit comments