summaryrefslogtreecommitdiffstats
path: root/tests/cypress/e2e/pages/projects.cy.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-31 23:18:05 +0200
committerArmand Philippot <git@armandphilippot.com>2022-06-03 11:54:08 +0200
commit540e56dff30d525ad78291664b3880caa73ffdae (patch)
treed4650bfefd23b6113554e3b16c47a54a5e04c669 /tests/cypress/e2e/pages/projects.cy.ts
parentb7d735bc385184c745781af4e6aaa75de111998c (diff)
test(e2e): add other pages test
Sometimes a build can be successful but the page is not working, so these tests allows me to check if the page is correctly loaded.
Diffstat (limited to 'tests/cypress/e2e/pages/projects.cy.ts')
-rw-r--r--tests/cypress/e2e/pages/projects.cy.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cypress/e2e/pages/projects.cy.ts b/tests/cypress/e2e/pages/projects.cy.ts
new file mode 100644
index 0000000..b477400
--- /dev/null
+++ b/tests/cypress/e2e/pages/projects.cy.ts
@@ -0,0 +1,6 @@
+describe('Projects Page', () => {
+ it('successfully loads', () => {
+ cy.visit('/projets');
+ cy.findByRole('heading', { level: 1 }).contains('Projets');
+ });
+});