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.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 remoteServer = await startRemoteServer();
|
||||||
|
|
||||||
const oldValue = process.env['NODE_TLS_REJECT_UNAUTHORIZED'];
|
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 port = 9339 + testInfo.workerIndex;
|
||||||
const browserServer = await browserType.launch({
|
const browserServer = await browserType.launch({
|
||||||
...browserOptions,
|
...browserOptions,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue