MediaNotificationTest: close media notification shade after each test (#10649)

fennec/production
Oana Horvath 4 years ago committed by GitHub
parent 84a6cc4d92
commit 19dd057cd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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