Bug 1840994 - Fix systemNotificationCantBeDismissedWhileDownloadingTest UI test

fenix/117.0
AndiAJ 11 months ago committed by mergify[bot]
parent b069d71b54
commit 7b50a43c5a

@ -8,7 +8,6 @@ import androidx.core.net.toUri
import okhttp3.mockwebserver.MockWebServer
import org.junit.After
import org.junit.Before
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.mozilla.fenix.customannotations.SmokeTest
@ -351,7 +350,6 @@ class DownloadTest {
deleteDownloadedFileOnStorage(secondDownloadedFile)
}
@Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1840994")
@Test
fun systemNotificationCantBeDismissedWhileDownloadingTest() {
// Clear the "Firefox Fenix default browser notification"
@ -373,13 +371,6 @@ class DownloadTest {
verifySystemNotificationExists("Firefox Fenix")
expandNotificationMessage()
swipeDownloadNotification("Left", false)
verifySystemNotificationExists("Firefox Fenix")
}.closeNotificationTray {
}.openNotificationShade {
verifySystemNotificationExists("Firefox Fenix")
expandNotificationMessage()
swipeDownloadNotification("Right", false)
verifySystemNotificationExists("Firefox Fenix")
clickDownloadNotificationControlButton("CANCEL")
}
deleteDownloadedFileOnStorage(downloadFile)

Loading…
Cancel
Save