mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
e2e: add video recording
- activate video recording - add recorded video to failure artefact upload
This commit is contained in:
parent
7c33de9cc5
commit
2cb19e183a
2
.github/workflows/test-e2e.yml
vendored
2
.github/workflows/test-e2e.yml
vendored
@ -154,7 +154,7 @@ jobs:
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: ocelot-e2e-test-report-pr${{ needs.docker_preparation.outputs.pr-number }}
|
||||
path: /home/runner/work/Ocelot-Social/Ocelot-Social/cypress/reports/cucumber_html_report
|
||||
path: /home/runner/work/Ocelot-Social/Ocelot-Social/cypress/reports/failure
|
||||
|
||||
cleanup_cache:
|
||||
name: Cleanup Cache
|
||||
|
||||
@ -4,7 +4,7 @@ const reportTitle = "Ocelot webapp end-to-end test report"
|
||||
|
||||
report.generate({
|
||||
jsonDir: "reports/json_logs",
|
||||
reportPath: "./reports/cucumber_html_report",
|
||||
reportPath: "./reports/failure/cucumber_html_report",
|
||||
pageTitle: reportTitle,
|
||||
reportName: reportTitle,
|
||||
pageFooter: "<div></div>",
|
||||
|
||||
@ -47,7 +47,8 @@ module.exports = defineConfig({
|
||||
supportFile: false,
|
||||
includeShadowDom: true,
|
||||
retries: 0,
|
||||
video: false,
|
||||
video: true,
|
||||
videosFolder: 'cypress/reports/failure/'
|
||||
viewportHeight: 720,
|
||||
viewportWidth: 1290,
|
||||
setupNodeEvents,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user