Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
run #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Oana Horvath committed Oct 27, 2021
1 parent a0be15a commit 9a3b248
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ class FeatureSettingsHelper {
settings.shouldShowJumpBackInCFR = isJumpBackInCFREnabled
settings.showRecentTabsFeature = isRecentTabsFeatureEnabled
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ class HomeActivityTestRule(
super.afterActivityFinished()
setLongTapTimeout(longTapUserPreference)
closeNotificationShade()
// resetting the default values of feature flags in case they are modified but not reset in a test.
/* resetting the default values of a selection of feature flags,
in case they are modified but not reset in a test.*/
featureSettings.resetAllFeatureFlags()
}
}
Expand Down Expand Up @@ -72,7 +73,8 @@ class HomeActivityIntentTestRule(
super.afterActivityFinished()
setLongTapTimeout(longTapUserPreference)
closeNotificationShade()
// resetting the default values of feature flags in case they are modified but not reset in a test.
/* resetting the default values of a selection of feature flags,
in case they are modified but not reset in a test.*/
featureSettings.resetAllFeatureFlags()
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,28 +149,31 @@ class TabbedBrowsingTest {
}.openTabDrawer {
verifyExistingOpenTabs("Test_Page_1")
closeTab()
}
homeScreen {
verifySnackBarText("Tab closed")
snackBarButtonClick("UNDO")
}

browserScreen {
verifyTabCounter("1")
}.openTabDrawer {
verifyExistingOpenTabs("Test_Page_1")
swipeTabRight("Test_Page_1")
}
homeScreen {
verifySnackBarText("Tab closed")
snackBarButtonClick("UNDO")
}

browserScreen {
verifyTabCounter("1")
}.openTabDrawer {
verifyExistingOpenTabs("Test_Page_1")
swipeTabLeft("Test_Page_1")
}
homeScreen {
verifySnackBarText("Tab closed")
snackBarButtonClick("UNDO")
}

browserScreen {
verifyTabCounter("1")
}.openTabDrawer {
Expand Down
1 change: 0 additions & 1 deletion automation/taskcluster/androidTest/flank-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ gcloud:
# - notPackage org.mozilla.fenix.screenshots
# - notPackage org.mozilla.fenix.syncintegration
- class org.mozilla.fenix.ui.TabbedBrowsingTest#closeTabTest
- class org.mozilla.fenix.ui.TabbedBrowsingTest#closePrivateTabTest

device:
- model: Pixel2
Expand Down

0 comments on commit 9a3b248

Please sign in to comment.