Skip to content

Commit

Permalink
chore: change report to single path
Browse files Browse the repository at this point in the history
  • Loading branch information
luizstacio committed Feb 20, 2024
1 parent bbbffef commit 68755d1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ contracts
**/generated/*
.changeset/**.md
**/playwright-results/
**/playwright-html/
4 changes: 1 addition & 3 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ jobs:
if: always()
with:
name: playwright-app-report
path: |
packages/app/playwright-report/
packages/app/playwright-html/
path: packages/app/playwright-results
retention-days: 30

- name: Stop Test Node
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ pnpm-lock.yaml
**/generated/
.changeset/**.md
**/playwright-results/
**/playwright-html/
4 changes: 2 additions & 2 deletions packages/app/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export default defineConfig({
workers: 1,
testMatch: join(__dirname, './playwright/**/*.test.ts'),
testDir: join(__dirname, './playwright/'),
outputDir: join(__dirname, './playwright-results/'),
outputDir: join(__dirname, './playwright-results/traces/'),
reporter: [
['list', { printSteps: true }],
['html', { outputFolder: join(__dirname, './playwright-html/') }],
['html', { outputFolder: join(__dirname, './playwright-results/html/') }],
],
// Retry tests on CI if they fail
retries: IS_CI ? 2 : 0,
Expand Down

0 comments on commit 68755d1

Please sign in to comment.