From 93b7ee70d2a923bcde81b27543ab34a9c510d24a Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 6 May 2024 11:44:03 +0000 Subject: [PATCH] test: remove ShouldPlayVideo test --- src/Playwright.Tests/CapabilitiesTests.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Playwright.Tests/CapabilitiesTests.cs b/src/Playwright.Tests/CapabilitiesTests.cs index 576f6af1ff..6bf693ed14 100644 --- a/src/Playwright.Tests/CapabilitiesTests.cs +++ b/src/Playwright.Tests/CapabilitiesTests.cs @@ -76,13 +76,4 @@ public async Task ShouldRespectCSP() await Page.GotoAsync(Server.EmptyPage); Assert.AreEqual("SUCCESS", await Page.EvaluateAsync("() => window.testStatus")); } - - [PlaywrightTest("capabilities.spec.ts", "should play video")] - [Skip(SkipAttribute.Targets.Webkit | SkipAttribute.Targets.Linux, SkipAttribute.Targets.Webkit | SkipAttribute.Targets.Windows, SkipAttribute.Targets.Firefox)] - public async Task ShouldPlayVideo() - { - await Page.GotoAsync(Server.Prefix + (TestConstants.IsWebKit ? "/video_mp4.html" : "/video.html")); - await Page.EvalOnSelectorAsync("video", "v => v.play()"); - await Page.EvalOnSelectorAsync("video", "v => v.pause()"); - } }