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 2acbb19 commit 08f3535Copy full SHA for 08f3535
src/components/Navbar.tsx
@@ -8,7 +8,7 @@ export const Navbar: React.FC = () => (
8
Redux + TypeScript
9
</NavLink>
10
<ul className="right hide-on-med-and-down">
11
- <li>
+ <li cy-data="home-nav-link">
12
<NavLink to="/">Home</NavLink>
13
</li>
14
<li>
src/pages/About.tsx
@@ -13,7 +13,12 @@ export const About: React.FC = () => {
omnis doloremque itaque eius eaque sint facilis unde tenetur reiciendis
aliquam soluta?
15
</p>
16
- <button type="button" className="btn" onClick={() => history.push('/')}>
+ <button
17
+ type="button"
18
+ className="btn"
19
+ cy-data="go-back-button"
20
+ onClick={() => history.push('/')}
21
+ >
22
Go back
23
</button>
24
</Fragment>
0 commit comments