mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 00:20:05 +01:00
This commit is contained in:
parent
e07424b739
commit
2141ea7781
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user