diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e20a1b..90c5853 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,3 +29,14 @@ jobs: working-directory: ./e2e start: npm start wait-on: http://localhost:3000 + # Store tests runs in case of failure + - uses: actions/upload-artifact@v4 + if: failure() + with: + name: cypress-screenshots + path: e2e/cypress/screenshots + - uses: actions/upload-artifact@v4 + if: failure() + with: + name: cypress-videos + path: e2e/cypress/videos diff --git a/e2e/cypress.config.ts b/e2e/cypress.config.ts index ccdb22d..ed98318 100644 --- a/e2e/cypress.config.ts +++ b/e2e/cypress.config.ts @@ -12,6 +12,8 @@ export default defineConfig({ baseUrl: "http://localhost:3000", specPattern: "**/*.feature", setupNodeEvents, + video: true, + videoCompression: 32, supportFile: false, }, env: {