Bug 1807275 - Verify only the intent sent in emailLinkPWATest

fenix/119.0
oana.horvath 9 months ago committed by mergify[bot]
parent e0e7925bb9
commit 0e0596121e

@ -16,6 +16,7 @@ import org.mozilla.fenix.helpers.MatcherHelper.itemWithResId
import org.mozilla.fenix.helpers.MatcherHelper.itemWithResIdAndText
import org.mozilla.fenix.helpers.MatcherHelper.itemWithText
import org.mozilla.fenix.helpers.TestHelper
import org.mozilla.fenix.helpers.TestHelper.assertExternalAppOpens
import org.mozilla.fenix.helpers.TestHelper.assertNativeAppOpens
import org.mozilla.fenix.helpers.TestHelper.mDevice
import org.mozilla.fenix.ui.robots.addToHomeScreen
@ -58,7 +59,6 @@ class PwaTest {
}
}
@Ignore("Failing, see https://bugzilla.mozilla.org/show_bug.cgi?id=1807275")
@Test
fun emailLinkPWATest() {
navigationToolbar {
@ -71,7 +71,7 @@ class PwaTest {
}.openHomeScreenShortcut(shortcutTitle) {
clickPageObject(itemContainingText("Email link"))
clickPageObject(itemWithResIdAndText("android:id/button1", "OPEN"))
assertNativeAppOpens(GMAIL_APP, emailLink)
assertExternalAppOpens(GMAIL_APP)
}
}

Loading…
Cancel
Save