Skip to content

Commit

Permalink
test: remove ShouldPlayVideo test
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed May 6, 2024
1 parent 5d489a9 commit 93b7ee7
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/Playwright.Tests/CapabilitiesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,4 @@ public async Task ShouldRespectCSP()
await Page.GotoAsync(Server.EmptyPage);
Assert.AreEqual("SUCCESS", await Page.EvaluateAsync<string>("() => 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()");
}
}

0 comments on commit 93b7ee7

Please sign in to comment.