For #23558 - Update menu copy for What's new and Customize homepage

upstream-sync
Gabriel Luong 2 years ago committed by mergify[bot]
parent 7e09be3bf8
commit 6f2af25a60

@ -188,7 +188,7 @@ class ThreeDotMenuMainRobot {
mDevice.wait(
Until
.findObject(
By.textContains("$packageName:id/browser_menu_customize_home")
By.textContains("$packageName:id/browser_menu_customize_home_1")
),
waitingTime
)
@ -276,7 +276,7 @@ class ThreeDotMenuMainRobot {
}
fun openWhatsNew(interact: BrowserRobot.() -> Unit): BrowserRobot.Transition {
mDevice.waitNotNull(Until.findObject(By.text("Whats New")), waitingTime)
mDevice.waitNotNull(Until.findObject(By.text("Whats new")), waitingTime)
whatsNewButton().click()
BrowserRobot().interact()
@ -379,7 +379,7 @@ private fun customizeHomeButton() =
onView(
allOf(
withId(R.id.text),
withText(R.string.browser_menu_customize_home)
withText(R.string.browser_menu_customize_home_1)
)
)
@ -455,7 +455,7 @@ private fun assertFindInPageButton() = findInPageButton()
private fun whatsNewButton() = onView(
allOf(
withText("Whats New"),
withText("Whats new"),
withEffectiveVisibility(Visibility.VISIBLE)
)
)

@ -166,7 +166,7 @@ class HomeMenu(
}
val customizeHomeItem = BrowserMenuImageText(
context.getString(R.string.browser_menu_customize_home),
context.getString(R.string.browser_menu_customize_home_1),
R.drawable.ic_customize,
primaryTextColor
) {

@ -179,7 +179,7 @@
<!-- Browser menu button that sends a user to help articles -->
<string name="browser_menu_help">Help</string>
<!-- Browser menu button that sends a to a the what's new article -->
<string name="browser_menu_whats_new">Whats New</string>
<string name="browser_menu_whats_new">Whats new</string>
<!-- Browser menu button that opens the settings menu -->
<string name="browser_menu_settings">Settings</string>
<!-- Browser menu button that opens a user's library -->
@ -228,7 +228,7 @@
<!-- Browser menu label for editing a bookmark -->
<string name="browser_menu_edit">Edit</string>
<!-- Browser menu button that opens the Customize menu -->
<string name="browser_menu_customize_home">Customize home</string>
<string name="browser_menu_customize_home" moz:removedIn="98" tools:ignore="UnusedResources">Customize home</string>
<!-- Button shown on the home page that opens the Customize home settings -->
<string name="browser_menu_customize_home_1">Customize homepage</string>
<!-- Browser Toolbar -->

Loading…
Cancel
Save