Share file snapshots across platforms (#6282)
* Share file snapshots across platforms * Always skip file snapshot tests on Windows
This commit is contained in:
@ -32,11 +32,13 @@ export default defineConfig({
|
||||
timeout: 120_000, // override the default 30s timeout
|
||||
testDir: './e2e/playwright',
|
||||
testIgnore: '*.test.ts', // ignore unit tests
|
||||
/* Share snapshots across all platforms */
|
||||
snapshotPathTemplate: '{testDir}/{testFileName}-snapshots/{arg}{ext}',
|
||||
/* Run tests in files in parallel */
|
||||
fullyParallel: true,
|
||||
/* Fail the build on CI if you accidentally left test.only in the source code. */
|
||||
forbidOnly: true,
|
||||
/* Do not retry */
|
||||
forbidOnly: Boolean(process.env.CI),
|
||||
/* Do not retry using Playwright's built-in retry mechanism */
|
||||
retries: 0,
|
||||
/* Use all available CPU cores */
|
||||
workers: workers,
|
||||
|
Reference in New Issue
Block a user