Closes #26750: disable wallpapers onboarding in HomeScreenTest.verifyCustomizeHomepageTest

This commit is contained in:
mike a 2022-09-09 15:36:42 -07:00 committed by mergify[bot]
parent 87334d2a76
commit 72d7264201
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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,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,
)
}