Skip to content

Commit

Permalink
chore: disable failing permission test (#8337)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed May 12, 2022
1 parent 9ad6fd8 commit 0ae8936
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/page.spec.ts
Expand Up @@ -306,7 +306,10 @@ describe('Page', function () {
expect(await getPermission(page, 'geolocation')).toBe('prompt');
});
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.evaluate(() => {
Expand Down

0 comments on commit 0ae8936

Please sign in to comment.