[fenix] Revert "Closes https://github.com/mozilla-mobile/fenix/issues/26750: disable wallpapers onboarding in HomeScreenTest.verifyCustomizeHomepageTest"

This reverts commit 882bf221df4cc96a054879065801289c92513430.
pull/600/head
Christian Sadilek 2 years ago committed by Ryan VanderMeulen
parent 977ce6fcc8
commit cd2c0d4cb8

@ -199,7 +199,6 @@ class HomeScreenTest {
fun verifyCustomizeHomepageTest() {
val defaultWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)
featureSettingsHelper.setJumpBackCFREnabled(false)
featureSettingsHelper.setShowWallpaperOnboarding(false)
navigationToolbar {
}.enterURLAndEnterToBrowser(defaultWebPage.url) {

@ -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(
@ -111,10 +111,11 @@ 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,
)
}

Loading…
Cancel
Save