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 (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",
|
||||||
|
|
|
||||||
|
|
@ -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"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user