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 (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",

View File

@ -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 },