diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/MediaNotificationTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/MediaNotificationTest.kt index 630a2d265..c2379d39c 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/MediaNotificationTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/MediaNotificationTest.kt @@ -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() } }