Skip to content

Commit

Permalink
updates to playwright config
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorFries committed Oct 16, 2024
1 parent 5eba1fc commit 5ea9725
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ import { BASE_URL } from './env';
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
expect: {
timeout: 10000,
},
testDir: './tests',
/* Run tests in files in parallel */
fullyParallel: true,
Expand All @@ -28,6 +31,7 @@ export default defineConfig({
use: {
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
screenshot: 'only-on-failure',
},

/* Configure projects for major browsers */
Expand Down

0 comments on commit 5ea9725

Please sign in to comment.