Skip to content
Snippets Groups Projects

E2e testing i CI

Merged Sondre Malerud requested to merge e2e into main
2 files
+ 7
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 6
1
image: node:latest
image: cypress/base:latest
stages:
stages:
- build
- build
@@ -24,3 +24,8 @@ unit-test-job: # This job runs in the test stage.
@@ -24,3 +24,8 @@ unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
stage: test # It only starts when the job in the build stage completes successfully.
script:
script:
- npm run test:unit
- npm run test:unit
 
 
e2e-test-job: # This job runs in the test stage.
 
stage: test # It only starts when the job in the build stage completes successfully.
 
script:
 
- npm run test:e2e:dev
Loading