test(webapp): provide tests in CI
- add url and page as env variables to choice where to test and update the others - To pass a variable to a job's service, they have to be declared in the "variables" global -> doesn't work (see: [#37]) - use of the deployed image to do E2E test instead of services of gitlab
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
"build": "vue-cli-service build",
|
||||
"cypress:open": "cypress open",
|
||||
"cypress:run": "cypress run",
|
||||
"test": "cypress run --spec 'cypress/e2e/*.cy.ts'"
|
||||
"test:e2e": "cypress run --spec 'cypress/e2e/*.cy.ts'",
|
||||
"test:unit": "cypress run --spec 'cypress/unit/*.cy.ts'",
|
||||
"test": "test:unit | test:e2e"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^1.9.0",
|
||||
|
||||
Reference in New Issue
Block a user