test: enable route.continue cookie tests in firefox (#35320)
This commit is contained in:
parent
b452896d4a
commit
8eea065aeb
|
@ -82,5 +82,6 @@ export const androidTest = baseTest.extend<PageTestFixtures & AndroidTestFixture
|
|||
await androidContext.pages()[1].close();
|
||||
const page = await androidContext.newPage();
|
||||
await run(page);
|
||||
await androidContext.clearCookies();
|
||||
},
|
||||
});
|
||||
|
|
|
@ -484,8 +484,7 @@ it('continue should not override cookie', {
|
|||
annotation: [
|
||||
{ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/35168' },
|
||||
]
|
||||
}, async ({ page, server, browserName }) => {
|
||||
it.fixme(browserName === 'firefox', 'We currently clear all headers during interception in firefox');
|
||||
}, async ({ page, server }) => {
|
||||
server.setRoute('/set-cookie', (request, response) => {
|
||||
response.writeHead(200, { 'Set-Cookie': 'foo=bar;' });
|
||||
response.end();
|
||||
|
|
|
@ -168,7 +168,6 @@ it('should properly return navigation response when URL has cookies', async ({ p
|
|||
|
||||
it('should not override cookie header', async ({ page, server, browserName }) => {
|
||||
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/16773' });
|
||||
it.fixme(browserName === 'firefox', 'We currently clear all headers during interception in firefox');
|
||||
|
||||
await page.goto(server.EMPTY_PAGE);
|
||||
await page.evaluate(() => document.cookie = 'original=value');
|
||||
|
|
Loading…
Reference in New Issue