mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-13 17:14:02 +03:00
test: skip wss/https tests which were failing on transport mode (#8733)
This commit is contained in:
parent
a1f26976b0
commit
e832038ea2
@ -23,7 +23,8 @@ import WebSocket from 'ws';
|
||||
|
||||
test.slow(true, 'All connect tests are slow');
|
||||
|
||||
test('should connect over wss', async ({browserType , startRemoteServer, httpsServer}) => {
|
||||
test('should connect over wss', async ({browserType , startRemoteServer, httpsServer, mode}) => {
|
||||
test.skip(mode !== 'default'); // Out of process transport does not allow us to set env vars dynamically.
|
||||
const remoteServer = await startRemoteServer();
|
||||
|
||||
const oldValue = process.env['NODE_TLS_REJECT_UNAUTHORIZED'];
|
||||
|
@ -286,7 +286,8 @@ playwrightTest('should report all pages in an existing browser', async ({ browse
|
||||
}
|
||||
});
|
||||
|
||||
playwrightTest('should connect via https', async ({ browserType, browserOptions, httpsServer }, testInfo) => {
|
||||
playwrightTest('should connect via https', async ({ browserType, browserOptions, httpsServer, mode }, testInfo) => {
|
||||
test.skip(mode !== 'default'); // Out of process transport does not allow us to set env vars dynamically.
|
||||
const port = 9339 + testInfo.workerIndex;
|
||||
const browserServer = await browserType.launch({
|
||||
...browserOptions,
|
||||
|
Loading…
Reference in New Issue
Block a user