Remove (experimental) from app aspect ratio settings title
Flag: EXEMPT string change Fix: 305215544 Test: m Change-Id: Idbb01ec99014efc40c285212e5e6ef8c91fa8333
This commit is contained in:
@@ -155,7 +155,7 @@ class UserAspectRatioAppPreferenceTest {
|
||||
|
||||
composeTestRule.onNode(
|
||||
hasTextExactly(
|
||||
context.getString(R.string.aspect_ratio_experimental_title),
|
||||
context.getString(R.string.aspect_ratio_title),
|
||||
context.getString(R.string.user_aspect_ratio_app_default)
|
||||
),
|
||||
).assertIsDisplayed().assertIsEnabled()
|
||||
|
@@ -63,7 +63,7 @@ class UserAspectRatioAppsPageProviderTest {
|
||||
@Test
|
||||
fun injectEntry_title() {
|
||||
setInjectEntry()
|
||||
composeTestRule.onNodeWithText(context.getString(R.string.aspect_ratio_experimental_title))
|
||||
composeTestRule.onNodeWithText(context.getString(R.string.aspect_ratio_title))
|
||||
.assertIsDisplayed()
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ class UserAspectRatioAppsPageProviderTest {
|
||||
@Test
|
||||
fun injectEntry_onClick_navigate() {
|
||||
setInjectEntry()
|
||||
composeTestRule.onNodeWithText(context.getString(R.string.aspect_ratio_experimental_title))
|
||||
composeTestRule.onNodeWithText(context.getString(R.string.aspect_ratio_title))
|
||||
.performClick()
|
||||
assertThat(fakeNavControllerWrapper.navigateCalledWith).isEqualTo("UserAspectRatioAppsPage")
|
||||
}
|
||||
@@ -97,7 +97,7 @@ class UserAspectRatioAppsPageProviderTest {
|
||||
UserAspectRatioAppList {}
|
||||
}
|
||||
|
||||
composeTestRule.onNodeWithText(context.getString(R.string.aspect_ratio_experimental_title))
|
||||
composeTestRule.onNodeWithText(context.getString(R.string.aspect_ratio_title))
|
||||
.assertIsDisplayed()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user