Skip to content

Commit

Permalink
Add waitfor
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 committed Aug 12, 2024
1 parent e20add7 commit d241e0d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ class ToolAugmentedRealityTest {
}

private fun canTurnOffCamera() {
view(R.id.camera_toggle).click()
waitFor {
view(R.id.camera_toggle).click()
}

waitFor {
assertFalse(isCameraInUse(isBackFacing = true))
Expand Down

0 comments on commit d241e0d

Please sign in to comment.