aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cypress/e2e/pages/legal-notice.cy.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cypress/e2e/pages/legal-notice.cy.ts')
-rw-r--r--tests/cypress/e2e/pages/legal-notice.cy.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cypress/e2e/pages/legal-notice.cy.ts b/tests/cypress/e2e/pages/legal-notice.cy.ts
index f338a7a..0f2fb8c 100644
--- a/tests/cypress/e2e/pages/legal-notice.cy.ts
+++ b/tests/cypress/e2e/pages/legal-notice.cy.ts
@@ -1,6 +1,8 @@
+import { ROUTES } from '../../../../src/utils/constants';
+
describe('Legal Notice Page', () => {
it('successfully loads', () => {
- cy.visit('/mentions-legales');
+ cy.visit(ROUTES.LEGAL_NOTICE);
cy.findByRole('heading', { level: 1 }).contains('Mentions légales');
});
});