Skip to content

Commit a266ba8

Browse files
committed
Smoke test
1 parent 387e8da commit a266ba8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/src/androidTest/kotlin/com/darkrockstudios/app/securecamera/SmokeTestUiTest.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,17 @@ class SmokeTestUiTest {
5252

5353
setPinFields("3133734", "313373")
5454
onNodeWithText(str(R.string.pin_creation_button)).performClick()
55+
waitForIdle()
5556
waitUntilTextAppearsAtLeastOnce(str(R.string.pin_creation_error))
5657

5758
setPinFields("123456", "123456")
5859
onNodeWithText(str(R.string.pin_creation_button)).performClick()
60+
waitForIdle()
5961
waitUntilTextAppearsAtLeastOnce(str(R.string.pin_creation_error_weak_pin))
6062

6163
setPinFields("313373", "313373")
6264
onNodeWithText(str(R.string.pin_creation_button)).performClick()
63-
65+
waitForIdle()
6466
waitUntilTextAppearsAtLeastOnce(str(R.string.pin_creating_vault))
6567

6668
waitForEitherTree(hasRole(Role.Button) and hasContentDescription(str(R.string.camera_shutter_button_desc)))

0 commit comments

Comments
 (0)