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

Commit

Permalink
Closes #26750: disable wallpapers onboarding in HomeScreenTest.verify…
Browse files Browse the repository at this point in the history
…CustomizeHomepageTest
  • Loading branch information
mike a authored and mergify[bot] committed Sep 9, 2022
1 parent 87334d2 commit 72d7264
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ class HomeScreenTest {
fun verifyCustomizeHomepageTest() {
val defaultWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)
featureSettingsHelper.setJumpBackCFREnabled(false)
featureSettingsHelper.setShowWallpaperOnboarding(false)

navigationToolbar {
}.enterURLAndEnterToBrowser(defaultWebPage.url) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,20 @@ fun WallpaperOnboarding(

Text(
text = stringResource(R.string.wallpapers_onboarding_dialog_title_text),
style = FirefoxTheme.typography.headline7,
color = FirefoxTheme.colors.textPrimary,
overflow = TextOverflow.Ellipsis,
maxLines = 1,
style = FirefoxTheme.typography.headline7,
)

Spacer(modifier = Modifier.height(4.dp))

Text(
text = stringResource(R.string.wallpapers_onboarding_dialog_body_text),
style = FirefoxTheme.typography.caption,
color = FirefoxTheme.colors.textSecondary,
overflow = TextOverflow.Ellipsis,
maxLines = 1,
style = FirefoxTheme.typography.caption,
)

WallpaperThumbnails(
Expand All @@ -111,11 +111,10 @@ fun WallpaperOnboarding(
) {
Text(
text = stringResource(R.string.wallpapers_onboarding_dialog_explore_more_button_text),
fontWeight = FontWeight.Bold,
color = FirefoxTheme.colors.textAccent,
fontSize = 14.sp,
overflow = TextOverflow.Ellipsis,
maxLines = 1,
style = FirefoxTheme.typography.button,
)
}

Expand Down

0 comments on commit 72d7264

Please sign in to comment.