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 7cf193e commit 1cd35eaCopy full SHA for 1cd35ea
cypress/e2e/home/home.spec.ts
@@ -3,6 +3,6 @@ describe('Landing Page', () => {
3
beforeEach(() => cy.visit('/'))
4
5
it('loads landing page should be successfully', () => {
6
- cy.get('[data-cy="root"]').should('be.visible')
+ cy.get('[data-id="root"]').should('be.visible')
7
})
8
public/index.html
@@ -32,7 +32,7 @@
32
33
<body>
34
<noscript>You need to enable JavaScript to run this app.</noscript>
35
- <div id="root" data-cy="root"></div>
+ <div id="root" data-id="root"></div>
36
<!--
37
This HTML file is a template.
38
If you open it directly in the browser, you will see an empty page.
@@ -45,4 +45,4 @@
45
-->
46
</body>
47
48
-</html>
+</html>
0 commit comments