test(video): mark test as failing in WebKit Linux (#3344)

This commit is contained in:
Yury Semikhatsky 2020-08-07 09:53:34 -07:00 committed by GitHub
parent 3665bb0a9a
commit 1bcbf19e86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,9 +50,10 @@ it('should respect CSP', async({page, server}) => {
expect(await page.evaluate(() => window['testStatus'])).toBe('SUCCESS');
});
it.fail(WEBKIT && WIN)('should play video', async({page}) => {
it.fail(WEBKIT && (WIN || LINUX))('should play video', async({page}) => {
// TODO: the test passes on Windows locally but fails on GitHub Action bot,
// apparently due to a Media Pack issue in the Windows Server.
// Also the test is very flaky on Linux WebKit.
//
// Safari only plays mp4 so we test WebKit with an .mp4 clip.
const fileName = WEBKIT ? 'video_mp4.html' : 'video.html';