test: can open page with mp4 video (#11030)
This commit is contained in:
parent
50a9a8763b
commit
ea1948fabb
|
|
@ -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(`<video><source src="${server.PREFIX}/movie.mp4"/></video>`);
|
||||
await page.waitForTimeout(1000);
|
||||
});
|
||||
Loading…
Reference in a new issue