diff options
Diffstat (limited to 'tests/cypress/e2e/pages/homepage.cy.ts')
| -rw-r--r-- | tests/cypress/e2e/pages/homepage.cy.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cypress/e2e/pages/homepage.cy.ts b/tests/cypress/e2e/pages/homepage.cy.ts index 8cd58cb..2d95767 100644 --- a/tests/cypress/e2e/pages/homepage.cy.ts +++ b/tests/cypress/e2e/pages/homepage.cy.ts @@ -1,9 +1,9 @@ -import { settings } from '../../../../src/utils/config'; +import { CONFIG } from '../../../../src/utils/config'; describe('HomePage', () => { it('successfully loads', () => { cy.visit('/'); - cy.findByRole('heading', { level: 1 }).contains(settings.name); - cy.findByText(settings.baseline.fr).should('exist'); + cy.findByRole('heading', { level: 1 }).contains(CONFIG.name); + cy.findByText(CONFIG.baseline).should('exist'); }); }); |
