test: skip wss/https tests which were failing on transport mode (#8733)

This commit is contained in:
Max Schmitt 2021-09-07 11:17:09 +02:00 committed by GitHub
parent a1f26976b0
commit e832038ea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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'];

View File

@ -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,