mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: update expectation for secure cookie test on WK Win (#36361)
This commit is contained in:
parent
66e9030212
commit
5f65f32d26
@ -64,7 +64,7 @@ it('should use proxy', async ({ contextFactory, server, proxyServer }) => {
|
||||
await context.close();
|
||||
});
|
||||
|
||||
it('should send secure cookies to subdomain.localhost', async ({ contextFactory, browserName, server, proxyServer }) => {
|
||||
it('should send secure cookies to subdomain.localhost', async ({ contextFactory, browserName, server, isWindows, proxyServer }) => {
|
||||
proxyServer.forwardTo(server.PORT);
|
||||
const context = await contextFactory({
|
||||
proxy: { server: `localhost:${proxyServer.PORT}` },
|
||||
@ -88,7 +88,7 @@ it('should send secure cookies to subdomain.localhost', async ({ contextFactory,
|
||||
name: 'non-secure',
|
||||
domain: 'subdomain.localhost',
|
||||
},
|
||||
...(browserName === 'webkit' ? [] : [{
|
||||
...((browserName === 'webkit') && !isWindows ? [] : [{
|
||||
name: 'secure',
|
||||
domain: 'subdomain.localhost',
|
||||
}]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user