diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d78b02decb3d3f9e6352894b52e3ca2c47fe24cd..4510329eca53383a675231071d4d8e22a78cb3eb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ test: script: # install dependencies - npm ci - - npx cypress install --force + # start the server in the background - npm start & # run Cypress tests diff --git a/.gitlab-cy-cpo.yml b/.gitlab-cy-cpo.yml deleted file mode 100644 index 16a391e88dce76de4f2ed08111bbbc785f5be1a5..0000000000000000000000000000000000000000 --- a/.gitlab-cy-cpo.yml +++ /dev/null @@ -1,26 +0,0 @@ -stages: - - test - -cache: - key: ${CI_COMMIT_REF_SLUG} - paths: - - node_modules/ - - .npm/ - -test: - image: cypress/browsers:node12.14.1-chrome85-ff81 - stage: test - script: - # install dependencies - - npm ci - - npx cypress install --force - # start the server in the background - - npm start & - # run Cypress tests - - npm test - artifacts: - when: always - paths: - - cypress/videos/**/*.mp4 - - cypress/screenshots/**/*.png - expire_in: 1 day \ No newline at end of file diff --git a/.gitlab-cy.yml b/.gitlab-cy.yml index d78b02decb3d3f9e6352894b52e3ca2c47fe24cd..4510329eca53383a675231071d4d8e22a78cb3eb 100644 --- a/.gitlab-cy.yml +++ b/.gitlab-cy.yml @@ -18,7 +18,7 @@ test: script: # install dependencies - npm ci - - npx cypress install --force + # start the server in the background - npm start & # run Cypress tests