chore: disable failing permission test (#8337)
This commit is contained in:
parent
9ad6fd8e2d
commit
0ae8936f5e
@ -306,7 +306,10 @@ describe('Page', function () {
|
|||||||
expect(await getPermission(page, 'geolocation')).toBe('prompt');
|
expect(await getPermission(page, 'geolocation')).toBe('prompt');
|
||||||
});
|
});
|
||||||
itFailsFirefox('should trigger permission onchange', async () => {
|
itFailsFirefox('should trigger permission onchange', async () => {
|
||||||
const { page, server, context } = getTestState();
|
const { page, server, context, isHeadless } = getTestState();
|
||||||
|
|
||||||
|
// TODO: re-enable this test in headful once crbug.com/1324480 rolls out.
|
||||||
|
if (!isHeadless) return;
|
||||||
|
|
||||||
await page.goto(server.EMPTY_PAGE);
|
await page.goto(server.EMPTY_PAGE);
|
||||||
await page.evaluate(() => {
|
await page.evaluate(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user