mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
Add Playwright report artifacts to CI and enable manual trigger
- Upload playwright-report and test-results artifacts after e2e tests - Add workflow_dispatch for manual workflow triggering - Temporarily enable always-on traces/videos/screenshots for testing - Fix ESM imports in playwright.config.mts
This commit is contained in:
parent
1083a48286
commit
19ac348bc8
2 changed files with 4 additions and 2 deletions
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
|
|
@ -1,6 +1,7 @@
|
|||
name: Tests
|
||||
|
||||
on:
|
||||
workflow_dispatch: # Manual trigger for testing
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
|
|
|
|||
|
|
@ -22,8 +22,9 @@ export default defineConfig({
|
|||
timeout: 10000,
|
||||
},
|
||||
use: {
|
||||
trace: 'on-first-retry',
|
||||
video: 'on-first-retry',
|
||||
trace: 'on', // TODO: revert to 'on-first-retry' after verifying GitHub Actions report
|
||||
video: 'on', // TODO: revert to 'on-first-retry' after verifying GitHub Actions report
|
||||
screenshot: 'on', // TODO: remove after verifying GitHub Actions report
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue