Skip to content

Commit

Permalink
record video and save artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomartins8 committed Mar 26, 2024
1 parent ca7959f commit 9d0a944
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,10 @@ jobs:
- name: Run Playwright tests for classic integration
run: IS_CLASSIC_INTEGRATION=true npm run e2e
- name: Run Playwright tests for studio integration
run: IS_CLASSIC_INTEGRATION=false npm run e2e
run: IS_CLASSIC_INTEGRATION=false npm run e2e
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 1
3 changes: 3 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export default defineConfig({

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',

/* https://playwright.dev/docs/videos#record-video */
video: 'on-first-retry',
},

/* Configure projects for major browsers */
Expand Down

0 comments on commit 9d0a944

Please sign in to comment.