Skip to content

Commit

Permalink
⚡ Use built-in report for playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Jan 9, 2025
1 parent f29625b commit 77c7fab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/e2e-optimized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,3 @@ jobs:
SANITY_READ_NO_DRAFTS: ${{ secrets.SANITY_READ_NO_DRAFTS }}

run: yarn workspace website e2e:ci-full

- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: aksel.nav.no/website/playwright-report/
retention-days: 10
3 changes: 2 additions & 1 deletion aksel.nav.no/website/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ const config: PlaywrightTestConfig = {
retries: 1,
workers: 5,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",
reporter: process.env.CI ? "github" : "list",

/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
Expand Down

0 comments on commit 77c7fab

Please sign in to comment.