2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] MediaNotificationTest: close media notification shade after each test (https://github.com/mozilla-mobile/fenix/pull/10649)

This commit is contained in:
Oana Horvath 2020-05-14 17:01:09 +03:00 committed by GitHub
parent 9324377564
commit 55e4a7c651

View File

@ -72,6 +72,9 @@ class MediaNotificationTest {
notificationShade { notificationShade {
verifySystemNotificationGone(videoTestPage.title) verifySystemNotificationGone(videoTestPage.title)
} }
// close notification shade before the next test
mDevice.pressBack()
} }
@Test @Test
@ -102,6 +105,9 @@ class MediaNotificationTest {
notificationShade { notificationShade {
verifySystemNotificationGone(audioTestPage.title) verifySystemNotificationGone(audioTestPage.title)
} }
// close notification shade before the next test
mDevice.pressBack()
} }
@Test @Test
@ -152,5 +158,8 @@ class MediaNotificationTest {
notificationShade { notificationShade {
verifySystemNotificationGone("A site is playing media") verifySystemNotificationGone("A site is playing media")
} }
// close notification shade before the next test
mDevice.pressBack()
} }
} }