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

pull/600/head
Oana Horvath 4 years ago committed by GitHub
parent 9324377564
commit 55e4a7c651

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

Loading…
Cancel
Save