test: enable requestFullscreen test in webkit (#22940)

Fixes #22832
This commit is contained in:
Yury Semikhatsky 2023-05-11 10:00:22 -07:00 committed by GitHub
parent e41b21dc7b
commit 8a09d6dc0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,7 +254,6 @@ it('window.GestureEvent in WebKit', async ({ page, server, browserName }) => {
it('requestFullscreen', async ({ page, server, browserName, headless, isLinux }) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/22832' });
it.fixme(browserName === 'chromium' && headless, 'fullscreenchange is not fired in headless Chromium');
it.fixme(browserName === 'webkit');
await page.goto(server.EMPTY_PAGE);
await page.evaluate(() => {
const result = new Promise(resolve => document.addEventListener('fullscreenchange', resolve));