diff --git a/e2e/constants.ts b/e2e/constants.ts index 94123766..6a478bd5 100644 --- a/e2e/constants.ts +++ b/e2e/constants.ts @@ -41,7 +41,12 @@ export const EXCLUDED_CONSOLE_LOGS = ( } if (process.env.CI) { - if (browserName === "firefox") { + if (browserName === "chromium") { + excludedConsoleLogs.push( + "Failed to create WebGPU Context Provider", + "WebGPU is experimental on this platform" + ); + } else if (browserName === "firefox") { excludedConsoleLogs.push( "WebGL warning", "Failed to create WebGL context", diff --git a/playwright.config.ts b/playwright.config.ts index 39a44a6b..1e174dda 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -14,12 +14,14 @@ const config: PlaywrightTestConfig = { projects: [ { name: "chromium", - use: { - ...chrome, - launchOptions: { - args: CI ? [] : ["--enable-gpu", "--use-gl=angle"], - }, - }, + use: CI + ? chrome + : { + ...chrome, + launchOptions: { + args: ["--enable-gpu", "--use-gl=angle"], + }, + }, }, { name: "firefox", use: firefox }, { name: "webkit", use: safari },