diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index d232e2909..9d124cdec 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -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 diff --git a/cypress/create-cucumber-html-report.js b/cypress/create-cucumber-html-report.js index 9720f4281..54dae9780 100644 --- a/cypress/create-cucumber-html-report.js +++ b/cypress/create-cucumber-html-report.js @@ -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: "
", diff --git a/cypress/cypress.config.js b/cypress/cypress.config.js index 4bcf7f7f9..056cbed85 100644 --- a/cypress/cypress.config.js +++ b/cypress/cypress.config.js @@ -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,