Skip to content

Commit 5f65f32

Browse files
authored
test: update expectation for secure cookie test on WK Win (#36361)
1 parent 66e9030 commit 5f65f32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/library/browsercontext-proxy.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ it('should use proxy', async ({ contextFactory, server, proxyServer }) => {
6464
await context.close();
6565
});
6666

67-
it('should send secure cookies to subdomain.localhost', async ({ contextFactory, browserName, server, proxyServer }) => {
67+
it('should send secure cookies to subdomain.localhost', async ({ contextFactory, browserName, server, isWindows, proxyServer }) => {
6868
proxyServer.forwardTo(server.PORT);
6969
const context = await contextFactory({
7070
proxy: { server: `localhost:${proxyServer.PORT}` },
@@ -88,7 +88,7 @@ it('should send secure cookies to subdomain.localhost', async ({ contextFactory,
8888
name: 'non-secure',
8989
domain: 'subdomain.localhost',
9090
},
91-
...(browserName === 'webkit' ? [] : [{
91+
...((browserName === 'webkit') && !isWindows ? [] : [{
9292
name: 'secure',
9393
domain: 'subdomain.localhost',
9494
}]),

0 commit comments

Comments
 (0)