test: increase ui test coverage

This commit is contained in:
2022-06-02 14:03:29 +02:00
committed by Rainer Killinger
parent 9e71efca9f
commit 8710ba43ff
35 changed files with 7201 additions and 209 deletions

View File

@@ -53,27 +53,29 @@ unit:
paths:
- coverage
e2e-chrome:
image: cypress/browsers:node14.19.0-chrome100-ff99-edge
stage: test
script:
- npm run e2e -- --watch=false --headless=true --browser=chrome
artifacts:
when: on_failure
paths:
- cypress/videos
- cypress/screenshots
# We are using a pre-commit hook to reduce runner load
# and increase consistency with tests
# e2e-chrome:
# image: cypress/browsers:node14.19.0-chrome100-ff99-edge
# stage: test
# script:
# - npm run e2e -- --watch=false --headless=true --browser=chrome
# artifacts:
# when: on_failure
# paths:
# - cypress/videos
# - cypress/screenshots
e2e-firefox:
image: cypress/browsers:node14.19.0-chrome100-ff99-edge
stage: test
script:
- npm run e2e -- --watch=false --headless=true --browser=firefox
artifacts:
when: on_failure
paths:
- cypress/videos
- cypress/screenshots
# e2e-firefox:
# image: cypress/browsers:node14.19.0-chrome100-ff99-edge
# stage: test
# script:
# - npm run e2e -- --watch=false --headless=true --browser=firefox
# artifacts:
# when: on_failure
# paths:
# - cypress/videos
# - cypress/screenshots
audit:
stage: test