Update the proper App battery usage string on App info page
Bug: 278045681 Test: visual Change-Id: I4da671615f11554e2cd64f3a801252df5c0ba6f4
This commit is contained in:
@@ -101,7 +101,7 @@ class AppBatteryPreferenceTest {
|
||||
|
||||
setContent(notInstalledApp)
|
||||
|
||||
composeTestRule.onNode(hasTextExactly(context.getString(R.string.app_battery_usage_title)))
|
||||
composeTestRule.onNode(hasTextExactly(context.getString(R.string.battery_details_title)))
|
||||
.assertIsDisplayed()
|
||||
.assertIsNotEnabled()
|
||||
}
|
||||
@@ -114,7 +114,7 @@ class AppBatteryPreferenceTest {
|
||||
|
||||
composeTestRule.onNode(
|
||||
hasTextExactly(
|
||||
context.getString(R.string.app_battery_usage_title),
|
||||
context.getString(R.string.battery_details_title),
|
||||
context.getString(R.string.no_battery_summary),
|
||||
),
|
||||
).assertIsDisplayed().assertIsEnabled()
|
||||
|
||||
Reference in New Issue
Block a user