Skip to content

Commit 36c1f1e

Browse files
authored
Update playwright.config.ts (#291)
* Update playwright.config.ts Adds launchOptions clause to enable webGL in an attempt to fix some test breakage on 3D maps, which we suspect is caused by raster fallback on the CI side (all runs perfectly on local env). * Update playwright.config.ts * Update playwright.config.ts It's really really picky about commas. * Update playwright.config.ts add missing bracket
1 parent fbddca4 commit 36c1f1e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

playwright.config.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@ export default defineConfig({
5959
projects: [
6060
{
6161
name: 'chromium',
62-
use: { ...devices['Desktop Chrome'], },
62+
use: {
63+
...devices['Desktop Chrome'],
64+
launchOptions: {
65+
args: ['--enable-webgl', '--ignore-gpu-blocklist'],
66+
},
67+
},
6368
},
6469
/**
6570
{
@@ -98,4 +103,4 @@ export default defineConfig({
98103
// url: 'http://127.0.0.1:3000',
99104
// reuseExistingServer: !process.env.CI,
100105
// },
101-
});
106+
});

0 commit comments

Comments
 (0)