Ignore error on CI
Some checks failed
Tests / tests (push) Has been cancelled

This commit is contained in:
Dustin Brett 2025-08-29 10:56:42 -07:00
parent e07424b739
commit 2141ea7781
2 changed files with 14 additions and 7 deletions

View File

@ -41,7 +41,12 @@ export const EXCLUDED_CONSOLE_LOGS = (
} }
if (process.env.CI) { 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( excludedConsoleLogs.push(
"WebGL warning", "WebGL warning",
"Failed to create WebGL context", "Failed to create WebGL context",

View File

@ -14,10 +14,12 @@ const config: PlaywrightTestConfig = {
projects: [ projects: [
{ {
name: "chromium", name: "chromium",
use: { use: CI
? chrome
: {
...chrome, ...chrome,
launchOptions: { launchOptions: {
args: CI ? [] : ["--enable-gpu", "--use-gl=angle"], args: ["--enable-gpu", "--use-gl=angle"],
}, },
}, },
}, },