Merge "Update the proper App battery usage string on App info page" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bc67d885ec
@@ -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