Skip to content

Commit

Permalink
update e2e config
Browse files Browse the repository at this point in the history
  • Loading branch information
634750802 committed Aug 20, 2024
1 parent 73cd1b2 commit 9fcfaac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default defineConfig({
baseURL: 'http://127.0.0.1:3000',

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: !!process.env.CI ? 'off' : 'on',
trace: 'on',
screenshot: 'off',
video: 'on',
},
Expand Down
4 changes: 4 additions & 0 deletions e2e/tests/bootstrap.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { expect, test } from '@playwright/test';

test.use({
trace: !!process.env.CI ? 'off' : 'on',
})

test('Bootstrap', async ({ page }) => {
test.slow();

Expand Down

0 comments on commit 9fcfaac

Please sign in to comment.