MediaNotificationTest: close media notification shade after each test (#10649)
parent
84a6cc4d92
commit
19dd057cd5
|
@ -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…
Reference in New Issue