chore: disable failing permission test (#8337)

This commit is contained in:
Alex Rudenko 2022-05-12 20:09:23 +02:00 committed by GitHub
parent 9ad6fd8e2d
commit 0ae8936f5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(() => {