Skip to content

Commit

Permalink
Add ui test for diagnostic dialog
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Corry <kylecorry31@gmail.com>
  • Loading branch information
kylecorry31 committed Nov 7, 2024
1 parent e23bf42 commit 13585fc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class ToolDiagnosticsTest : ToolTestBase(Tools.DIAGNOSTICS) {

// Battery usage always starts restricted, so just check for that
hasText(string(R.string.battery_usage_restricted), waitForTime = 15000)
click(string(R.string.battery_usage_restricted))
click(string(android.R.string.cancel))

click(toolbarButton(R.id.diagnostics_title, Side.Right))
hasText(R.id.sensor_details_title, string(R.string.pref_sensor_details_title))
Expand Down

0 comments on commit 13585fc

Please sign in to comment.