Skip to content

Commit

Permalink
try to use test reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeket committed Jul 19, 2024
1 parent 5f986c3 commit a159f29
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@estruyf/github-actions-reporter": "^1.8.0",
"@playwright/test": "^1.45.2",
"@svgr/webpack": "^7.0.0",
"@types/eslint": "^8.56.3",
Expand Down
4 changes: 3 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export default defineConfig({
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
reporter: process.env.CI
? [['html'], ['@estruyf/github-actions-reporter']]
: [['html']],
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
Expand Down
64 changes: 63 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a159f29

Please sign in to comment.