From ea1948fabba00ff176a195f2f452bd1f598b27e2 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 20 Dec 2021 12:44:06 -0800 Subject: [PATCH] test: can open page with mp4 video (#11030) --- tests/capabilities.spec.ts | 7 +++++++ 1 file changed, 7 insertions(+) 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