mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
test: disable new referrer test on FF
This commit is contained in:
parent
adf54ee6b3
commit
58cd8210b0
@ -429,7 +429,7 @@ module.exports.addTests = function({testRunner, expect, playwright, FFOX, CHROME
|
|||||||
expect(request2.headers['referer']).toBe(server.PREFIX + '/grid.html');
|
expect(request2.headers['referer']).toBe(server.PREFIX + '/grid.html');
|
||||||
expect(page.url()).toBe(server.PREFIX + '/grid.html');
|
expect(page.url()).toBe(server.PREFIX + '/grid.html');
|
||||||
});
|
});
|
||||||
it('should use referer option when setExtraHTTPHeaders provides referer', async({page, server}) => {
|
it.skip(FFOX)('should use referer option when setExtraHTTPHeaders provides referer', async({page, server}) => {
|
||||||
await page.setExtraHTTPHeaders({ 'referer': 'http://microsoft.com/' });
|
await page.setExtraHTTPHeaders({ 'referer': 'http://microsoft.com/' });
|
||||||
const [request1, request2] = await Promise.all([
|
const [request1, request2] = await Promise.all([
|
||||||
server.waitForRequest('/grid.html'),
|
server.waitForRequest('/grid.html'),
|
||||||
|
Loading…
Reference in New Issue
Block a user