diff --git a/tests/capabilities.spec.ts b/tests/capabilities.spec.ts index 97c9246de6..eef19192b5 100644 --- a/tests/capabilities.spec.ts +++ b/tests/capabilities.spec.ts @@ -117,3 +117,10 @@ it('should support webgl 2', async ({ page, browserName, headless }) => { }); expect(hasWebGL2).toBe(true); }); + +it('should not crash on page with mp4', async ({ page, server, platform, browserName }) => { + it.fixme(browserName === 'webkit' && platform === 'win32', 'https://github.com/microsoft/playwright/issues/11009, times out in setContent'); + it.fail(browserName === 'webkit' && platform === 'darwin' && parseInt(os.release(), 10) >= 21, 'https://github.com/microsoft/playwright/issues/11009'); + await page.setContent(``); + await page.waitForTimeout(1000); +}); \ No newline at end of file