mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
e2e with video
This commit is contained in:
parent
071e20c2aa
commit
0daad78177
8
.github/workflows/test_e2e.yml
vendored
8
.github/workflows/test_e2e.yml
vendored
@ -86,6 +86,14 @@ jobs:
|
||||
with:
|
||||
name: cypress-report-pr-#${{ steps.pr.outputs.number }}
|
||||
path: /home/runner/work/gradido/gradido/e2e-tests/cypress/reports/cucumber_html_report
|
||||
|
||||
- name: End-to-end tests | if tests failed, upload video
|
||||
id: e2e-video
|
||||
if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: cypress-report-pr-#${{ steps.pr.outputs.number }}
|
||||
path: /home/runner/work/gradido/gradido/e2e-tests/cypress/videos
|
||||
|
||||
- name: End-to-end tests | if tests failed, upload logs
|
||||
if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }}
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
"extends": ["//"],
|
||||
"tasks": {
|
||||
"seed": {
|
||||
"dependsOn": ["database#up", "config-schema#build", "database#build"]
|
||||
"dependsOn": ["database#up", "config-schema#build", "database#build"],
|
||||
"cache": false
|
||||
},
|
||||
"locales": {},
|
||||
"lint": {
|
||||
|
||||
1
e2e-tests/.gitignore
vendored
1
e2e-tests/.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
node_modules/
|
||||
cypress/screenshots/
|
||||
cypress/videos/
|
||||
cypress/reports/
|
||||
cucumber-messages.ndjson
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@ export default defineConfig({
|
||||
supportFile: 'cypress/support/index.ts',
|
||||
viewportHeight: 720,
|
||||
viewportWidth: 1280,
|
||||
video: false,
|
||||
video: true,
|
||||
retries: 0,
|
||||
env: {
|
||||
backendURL: 'http://127.0.0.1:4000',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user