We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 317b5ef commit eaf3f95Copy full SHA for eaf3f95
1 file changed
e2e/playwright.config.ts
@@ -34,16 +34,21 @@ export default defineConfig({
34
// Screenshots are on-demand only — exclude from the default run.
35
testIgnore: ['**/screenshots.spec.ts']
36
},
37
- {
38
- name: 'screenshots',
39
- testMatch: ['**/screenshots.spec.ts'],
40
- use: {
41
- browserName: 'chromium',
42
- viewport: { width: 1280, height: 800 },
43
- colorScheme: 'light',
44
- locale: 'en-US',
45
- deviceScaleFactor: 2
46
- }
47
+ // Skip screenshots on CI (networkidle timeout is pre-existing).
+ ...(process.env.CI
+ ? []
+ : [
+ {
+ name: 'screenshots',
+ testMatch: ['**/screenshots.spec.ts'],
+ use: {
+ browserName: 'chromium',
+ viewport: { width: 1280, height: 800 },
+ colorScheme: 'light',
48
+ locale: 'en-US',
49
+ deviceScaleFactor: 2
50
+ }
51
52
+ ])
53
]
54
});
0 commit comments