test: unskip WK tests (#21033)
Fixes https://github.com/microsoft/playwright/issues/20370 Fixes https://github.com/microsoft/playwright/issues/12353
This commit is contained in:
parent
06fc72b6ed
commit
4efa9e5ea0
|
|
@ -454,8 +454,7 @@ it('should allow unnamed cookies', async ({ page, context, server, browserName,
|
|||
expect.soft(await page.evaluate('document.cookie')).toBe('unnamed-via-js');
|
||||
});
|
||||
|
||||
it('should set cookies on WebSocket', async ({ contextFactory, httpsServer, browserName, platform }) => {
|
||||
it.fixme(browserName === 'webkit' && platform === 'win32', 'WebKit on win32 does not send any cookies over the WebSocket connection');
|
||||
it('should set secure cookies on secure WebSocket', async ({ contextFactory, httpsServer }) => {
|
||||
let resolveResceivedWebSocketHeaders = (headers: IncomingHttpHeaders) => { };
|
||||
const receivedWebSocketHeaders = new Promise<IncomingHttpHeaders>(resolve => resolveResceivedWebSocketHeaders = resolve);
|
||||
httpsServer.onceWebSocketConnection((ws, req) => resolveResceivedWebSocketHeaders(req.headers));
|
||||
|
|
|
|||
|
|
@ -168,15 +168,14 @@ it('should not crash on storage.getDirectory()', async ({ page, server, browserN
|
|||
}
|
||||
});
|
||||
|
||||
it('navigator.clipboard should be present', async ({ page, server, browserName, browserMajorVersion }) => {
|
||||
it('navigator.clipboard should be present', async ({ page, server }) => {
|
||||
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/18901' });
|
||||
await page.goto(server.EMPTY_PAGE);
|
||||
expect(await page.evaluate(() => navigator.clipboard)).toBeTruthy();
|
||||
});
|
||||
|
||||
it('should set CloseEvent.wasClean to false when the server terminates a WebSocket connection', async ({ page, server, browserName, platform }) => {
|
||||
it('should set CloseEvent.wasClean to false when the server terminates a WebSocket connection', async ({ page, server }) => {
|
||||
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/12353' });
|
||||
it.fixme(browserName === 'webkit' && platform === 'win32');
|
||||
server.onceWebSocketConnection(socket => {
|
||||
socket.terminate();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue