Fix vitest playwright warning (#32970)
Vitest handles this upstream now
This commit is contained in:
@@ -108,14 +108,11 @@ export default defineConfig({
|
|||||||
headless: true,
|
headless: true,
|
||||||
provider: playwright({
|
provider: playwright({
|
||||||
contextOptions: commonContextOptions,
|
contextOptions: commonContextOptions,
|
||||||
launchOptions: process.env.PW_TEST_CONNECT_WS_ENDPOINT ? undefined : commonLaunchOptions,
|
launchOptions: commonLaunchOptions,
|
||||||
connectOptions: process.env.PW_TEST_CONNECT_WS_ENDPOINT
|
connectOptions: process.env.PW_TEST_CONNECT_WS_ENDPOINT
|
||||||
? {
|
? {
|
||||||
wsEndpoint: process.env.PW_TEST_CONNECT_WS_ENDPOINT,
|
wsEndpoint: process.env.PW_TEST_CONNECT_WS_ENDPOINT,
|
||||||
exposeNetwork: "<loopback>",
|
exposeNetwork: "<loopback>",
|
||||||
headers: {
|
|
||||||
"x-playwright-launch-options": JSON.stringify(commonLaunchOptions),
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
: undefined,
|
: undefined,
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user