fix connected tests

This commit is contained in:
Vincent Breitmoser
2017-02-03 22:58:20 +01:00
parent 4be2f6e98e
commit eb349eb80f

View File

@@ -82,7 +82,7 @@ public class OpenPgpServiceTest {
pi.send();
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;
@@ -121,10 +121,7 @@ public class OpenPgpServiceTest {
pi.send();
Thread.sleep(ACTIVITY_WAIT_TIME); // Wait for activity to start
onData(withKeyItemId(0x9D604D2F310716A3L))
.inAdapterView(isAssignableFrom(AdapterView.class))
.perform(click());
onView(withText(R.string.api_settings_save)).perform(click());
onView(withText(R.string.button_allow)).perform(click());
}
{ // decrypt again, this time pending passphrase