fix(release-1.11): fix tests after cherry-pick (#6634)

This commit is contained in:
Andrey Lushnikov 2021-05-18 02:14:46 -07:00 committed by GitHub
parent 97aacf3cde
commit 6a9939db86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,9 +245,8 @@ playwrightTest.describe('chromium', () => {
expect(request.headers['foo']).toBe('bar'); expect(request.headers['foo']).toBe('bar');
} }
}); });
});
playwrightTest('should report all pages in an existing browser', async ({ browserType, browserOptions }, testInfo) => { playwrightTest('should report all pages in an existing browser', async ({ browserType, browserOptions }, testInfo) => {
const port = 9339 + testInfo.workerIndex; const port = 9339 + testInfo.workerIndex;
const browserServer = await browserType.launch({ const browserServer = await browserType.launch({
...browserOptions, ...browserOptions,
@ -272,4 +271,6 @@ playwrightTest('should report all pages in an existing browser', async ({ browse
} finally { } finally {
await browserServer.close(); await browserServer.close();
} }
});
}); });