summaryrefslogtreecommitdiff
path: root/app/src/androidTest/java/se/leap
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2015-05-29 11:32:09 +0200
committerParménides GV <parmegv@sdf.org>2015-05-29 11:32:09 +0200
commit7fec00203782c5bf3b95bf8b4702c8d5a4c5940d (patch)
tree2848b272e62039e54ea49fc63c08c1f8a0ec7fdc /app/src/androidTest/java/se/leap
parentde63a99c74bb05c271b0c7a5903b6bfab9ec0a5b (diff)
Gateways manager added a gateway from string twice.
Give more time to provider details fragment to appear, because debugging makes the code run slowly.
Diffstat (limited to 'app/src/androidTest/java/se/leap')
-rw-r--r--app/src/androidTest/java/se/leap/bitmaskclient/test/testConfigurationWizard.java2
-rw-r--r--app/src/androidTest/java/se/leap/bitmaskclient/test/testVpnFragment.java4
2 files changed, 2 insertions, 4 deletions
diff --git a/app/src/androidTest/java/se/leap/bitmaskclient/test/testConfigurationWizard.java b/app/src/androidTest/java/se/leap/bitmaskclient/test/testConfigurationWizard.java
index 6d267e6e..931457ee 100644
--- a/app/src/androidTest/java/se/leap/bitmaskclient/test/testConfigurationWizard.java
+++ b/app/src/androidTest/java/se/leap/bitmaskclient/test/testConfigurationWizard.java
@@ -72,7 +72,7 @@ public class testConfigurationWizard extends ActivityInstrumentationTestCase2<Co
private void waitForProviderDetails() {
String text = solo.getString(R.string.provider_details_fragment_title);
- assertTrue("Provider details dialog did not appear", solo.waitForText(text, 1, 40*1000));
+ assertTrue("Provider details dialog did not appear", solo.waitForText(text, 1, 60*1000));
}
public void testAddNewProvider() {
diff --git a/app/src/androidTest/java/se/leap/bitmaskclient/test/testVpnFragment.java b/app/src/androidTest/java/se/leap/bitmaskclient/test/testVpnFragment.java
index 2f3d2614..032e4f9c 100644
--- a/app/src/androidTest/java/se/leap/bitmaskclient/test/testVpnFragment.java
+++ b/app/src/androidTest/java/se/leap/bitmaskclient/test/testVpnFragment.java
@@ -1,7 +1,5 @@
package se.leap.bitmaskclient.test;
-import java.util.Locale;
-
import de.blinkt.openvpn.activities.LogWindow;
public class testVpnFragment extends BaseTestDashboard {
@@ -50,7 +48,7 @@ public class testVpnFragment extends BaseTestDashboard {
*/
public void testOnFailed() {
vpn_controller.clickVpnButton();
- assertTrue(solo.waitForActivity(LogWindow.class));
+ assertTrue("Have you checked the trust vpn dialog?", solo.waitForActivity(LogWindow.class));
solo.goBack();
vpn_controller.iconShowsDisconnected();
}