mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-12 17:26:22 +00:00
23 lines
715 B
YAML
23 lines
715 B
YAML
e2e:
|
|
image: cypress/browsers:latest # https://hub.docker.com/r/cypress/browsers/tags/
|
|
stage: test
|
|
script:
|
|
- pnpm --filter=@openstapps/app install
|
|
- pnpm --filter=@openstapps/app exec cypress install
|
|
- pnpm test:integration:app
|
|
artifacts:
|
|
when: on_failure
|
|
paths:
|
|
- frontend/app/cypress/videos
|
|
- frontend/app/cypress/screenshots
|
|
- frontend/app/coverage/integration-report-junit.xml
|
|
reports:
|
|
junit:
|
|
- frontend/app/coverage/integration-report-junit.xml
|
|
parallel:
|
|
matrix:
|
|
- BROWSER: chrome
|
|
- BROWSER: firefox
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' || $CI_COMMIT_BRANCH == 'main' || $CI_COMMIT_BRANCH == 'develop'
|