fix connected tests
This commit is contained in:
@@ -82,7 +82,7 @@ public class OpenPgpServiceTest {
|
|||||||
pi.send();
|
pi.send();
|
||||||
|
|
||||||
Thread.sleep(ACTIVITY_WAIT_TIME); // Wait for activity to start
|
Thread.sleep(ACTIVITY_WAIT_TIME); // Wait for activity to start
|
||||||
onView(withText(R.string.api_register_allow)).perform(click());
|
onView(withText(R.string.button_allow)).perform(click());
|
||||||
}
|
}
|
||||||
|
|
||||||
byte[] ciphertext;
|
byte[] ciphertext;
|
||||||
@@ -121,10 +121,7 @@ public class OpenPgpServiceTest {
|
|||||||
pi.send();
|
pi.send();
|
||||||
|
|
||||||
Thread.sleep(ACTIVITY_WAIT_TIME); // Wait for activity to start
|
Thread.sleep(ACTIVITY_WAIT_TIME); // Wait for activity to start
|
||||||
onData(withKeyItemId(0x9D604D2F310716A3L))
|
onView(withText(R.string.button_allow)).perform(click());
|
||||||
.inAdapterView(isAssignableFrom(AdapterView.class))
|
|
||||||
.perform(click());
|
|
||||||
onView(withText(R.string.api_settings_save)).perform(click());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{ // decrypt again, this time pending passphrase
|
{ // decrypt again, this time pending passphrase
|
||||||
|
|||||||
Reference in New Issue
Block a user