commit 35473f43a7caf1c804c9364ffaefdc86f929fed9
parent 6a10953907dac4d31ba93612926ac51d07343440
Author: AndiAJ <andiaj@users.noreply.github.com>
Date: Wed, 22 Oct 2025 06:15:21 +0000
Bug 1994725 - Add maxSdkVersion suppressed UI tests to the legacy configuration r=aaronmt
Added **verifyCopyLoginCredentialsToClipboardTest** to run on the legacy task as it's suppressed to a lower API level.
Removed the suppression from **verifySelectAllPDFTextOptionTest** (it was suppressed in [[ https://phabricator.services.mozilla.com/D220701 | D220701 ]]) and added some missing steps. (most likely it was omitted after we started to asses and fix the suppressed UI tests)
**verifySelectAllPDFTextOptionTest** auccessfully passed 100x on Firebase ✅
All legacy UI tests successfully passed 1x on Firebase ✅
Differential Revision: https://phabricator.services.mozilla.com/D268877
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/TextSelectionTest.kt b/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/TextSelectionTest.kt
@@ -7,6 +7,7 @@ package org.mozilla.fenix.ui
import androidx.compose.ui.test.junit4.AndroidComposeTestRule
import androidx.test.filters.SdkSuppress
import mozilla.components.feature.sitepermissions.SitePermissionsRules
+import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.mozilla.fenix.customannotations.SmokeTest
@@ -143,7 +144,6 @@ class TextSelectionTest : TestSetup() {
}
// TestRail link: https://mozilla.testrail.io/index.php?/cases/view/2326834
- @SdkSuppress(maxSdkVersion = 30)
@Test
fun verifySelectAllPDFTextOptionTest() {
val genericURL =
@@ -152,6 +152,8 @@ class TextSelectionTest : TestSetup() {
navigationToolbar {
}.enterURLAndEnterToBrowser(genericURL.url) {
clickPageObject(itemWithText("PDF form file"))
+ clickPageObject(itemWithResIdAndText("android:id/button2", "Cancel"))
+ waitForPageToLoad()
longClickPageObject(itemContainingText("Crossing"))
clickContextMenuItem("Select all")
clickContextMenuItem("Copy")
diff --git a/mobile/android/test_infra/flank-configs/fenix/arm-legacy-api-tests.yml b/mobile/android/test_infra/flank-configs/fenix/arm-legacy-api-tests.yml
@@ -30,6 +30,7 @@ gcloud:
- class org.mozilla.fenix.ui.TabbedBrowsingTest#closeAllTabsTest
- class org.mozilla.fenix.ui.TopSitesTest#openTopSiteInANewTabTest
- class org.mozilla.fenix.ui.BookmarksTest#verifyAddBookmarkButtonTest
+ - class org.mozilla.fenix.ui.LoginsTest#verifyCopyLoginCredentialsToClipboardTest
device:
- model: MediumPhone.arm