From 6653c97de29ed41414347e651f70eec89c9fe239 Mon Sep 17 00:00:00 2001 From: AndiAJ Date: Fri, 11 Aug 2023 17:02:03 +0300 Subject: [PATCH] Bug 1848349 - Sponsored shortcuts TestRail matching --- .../java/org/mozilla/fenix/ui/SponsoredShortcutsTest.kt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/SponsoredShortcutsTest.kt b/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/SponsoredShortcutsTest.kt index 0f6e0522a1e4..28a747d868d6 100644 --- a/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/SponsoredShortcutsTest.kt +++ b/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/SponsoredShortcutsTest.kt @@ -49,6 +49,7 @@ class SponsoredShortcutsTest { mockWebServer.shutdown() } + // TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/1729331 // Expected for en-us defaults @SmokeTest @Test @@ -67,6 +68,7 @@ class SponsoredShortcutsTest { } } + // TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/1729338 @Test fun openSponsoredShortcutTest() { homeScreen { @@ -76,8 +78,9 @@ class SponsoredShortcutsTest { } } + // TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/1729334 @Test - fun openSponsoredShortcutInPrivateBrowsingTest() { + fun openSponsoredShortcutInPrivateTabTest() { homeScreen { sponsoredShortcutTitle = getSponsoredShortcutTitle(2) }.openContextMenuOnSponsoredShortcut(sponsoredShortcutTitle) { @@ -86,9 +89,10 @@ class SponsoredShortcutsTest { } } + // TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/1729335 @Ignore("Failing, see: https://github.com/mozilla-mobile/fenix/issues/25926") @Test - fun verifySponsorsAndPrivacyLinkTest() { + fun openSponsorsAndYourPrivacyOptionTest() { homeScreen { sponsoredShortcutTitle = getSponsoredShortcutTitle(2) }.openContextMenuOnSponsoredShortcut(sponsoredShortcutTitle) { @@ -97,9 +101,10 @@ class SponsoredShortcutsTest { } } + // TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/1729336 @Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1807268") @Test - fun verifySponsoredShortcutsSettingsOptionTest() { + fun openSponsoredShortcutsSettingsOptionTest() { homeScreen { sponsoredShortcutTitle = getSponsoredShortcutTitle(2) }.openContextMenuOnSponsoredShortcut(sponsoredShortcutTitle) { @@ -108,6 +113,7 @@ class SponsoredShortcutsTest { } } + // TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/1729337 @Test fun verifySponsoredShortcutsDetailsTest() { homeScreen { @@ -119,6 +125,7 @@ class SponsoredShortcutsTest { } } + // TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/1729328 // 1 sponsored shortcut should be displayed if there are 7 pinned top sites @Test fun verifySponsoredShortcutsListWithSevenPinnedSitesTest() { @@ -169,6 +176,7 @@ class SponsoredShortcutsTest { } } + // TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/1729329 // No sponsored shortcuts should be displayed if there are 8 pinned top sites @Test fun verifySponsoredShortcutsListWithEightPinnedSitesTest() { -- 2.11.4.GIT