1
0
Fork 0

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

master
Oana Horvath 2020-05-14 17:01:09 +03:00 committed by GitHub
parent 84a6cc4d92
commit 19dd057cd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -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()
}
}