Skip to content

Commit 1cd35ea

Browse files
TCA-60 #comment This commit changes the id attribute to not be cypress-specific #time 5m
1 parent 7cf193e commit 1cd35ea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cypress/e2e/home/home.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ describe('Landing Page', () => {
33
beforeEach(() => cy.visit('/'))
44

55
it('loads landing page should be successfully', () => {
6-
cy.get('[data-cy="root"]').should('be.visible')
6+
cy.get('[data-id="root"]').should('be.visible')
77
})
88
})

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<body>
3434
<noscript>You need to enable JavaScript to run this app.</noscript>
35-
<div id="root" data-cy="root"></div>
35+
<div id="root" data-id="root"></div>
3636
<!--
3737
This HTML file is a template.
3838
If you open it directly in the browser, you will see an empty page.
@@ -45,4 +45,4 @@
4545
-->
4646
</body>
4747

48-
</html>
48+
</html>

0 commit comments

Comments
 (0)