mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/15754: Replace UI tests video asset for video with sound
This commit is contained in:
parent
67ab125ac1
commit
f929392ad2
@ -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>
|
||||||
|
BIN
app/src/androidTest/assets/resources/clip.mp4
Normal file
BIN
app/src/androidTest/assets/resources/clip.mp4
Normal file
Binary file not shown.
Binary file not shown.
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user