For #15754: Replace UI tests video asset for video with sound

This commit is contained in:
sv-ohorvath 2022-06-02 16:12:12 +03:00 committed by mergify[bot]
parent df66e159ed
commit c8eafbd9cc
4 changed files with 3 additions and 2 deletions

View File

@ -1,12 +1,13 @@
<html> <html>
<head> <head>
<title>Video_Test_Page</title> <title>Video_Test_Page</title>
<meta name="viewport" content="width=device-width">
</head> </head>
<body> <body>
<p id="testContent">Page content: video player</p> <p id="testContent">Page content: video player</p>
<div id="video-container"> <div id="video-container">
<video id="videoSample" width="320" height="240" controls loop> <video id="videoSample" width="320" height="240" controls loop>
<source src="../resources/videoSample.webm"> <source src="../resources/clip.mp4">
</video> </video>
</div> </div>
</body> </body>

Binary file not shown.

View File

@ -59,7 +59,7 @@ class MediaNotificationTest {
mockWebServer.shutdown() mockWebServer.shutdown()
} }
@Ignore("Still failing, due to https://github.com/mozilla-mobile/android-components/issues/9748") @Ignore("Failing with ANR: https://github.com/mozilla-mobile/fenix/issues/15754")
@Test @Test
fun videoPlaybackSystemNotificationTest() { fun videoPlaybackSystemNotificationTest() {
val videoTestPage = TestAssetHelper.getVideoPageAsset(mockWebServer) val videoTestPage = TestAssetHelper.getVideoPageAsset(mockWebServer)