Skip to content

Commit b9b63bc

Browse files
committed
chore: disable gpu
1 parent 6b41482 commit b9b63bc

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

playwright/playwright.config.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ export default defineConfig({
2020
trace: 'on',
2121
video: 'on-first-retry',
2222
},
23-
projects: process.env.CI
24-
? [
25-
{ name: 'chromium', use: { ...devices['Desktop Chrome'] } },
26-
// { name: 'firefox', use: { ...devices['Desktop Firefox'] } },
27-
]
28-
: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }],
23+
projects: [
24+
{
25+
name: 'chromium',
26+
use: {
27+
...devices['Desktop Chrome'],
28+
launchOptions: { args: ['--disable-gpu'] },
29+
},
30+
},
31+
],
2932
});

0 commit comments

Comments
 (0)