diff options
Diffstat (limited to 'app/src/androidTest/java/se/leap/bitmaskclient/test')
-rw-r--r-- | app/src/androidTest/java/se/leap/bitmaskclient/test/testDashboardIntegration.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/src/androidTest/java/se/leap/bitmaskclient/test/testDashboardIntegration.java b/app/src/androidTest/java/se/leap/bitmaskclient/test/testDashboardIntegration.java index bcabc46c..d2fb9901 100644 --- a/app/src/androidTest/java/se/leap/bitmaskclient/test/testDashboardIntegration.java +++ b/app/src/androidTest/java/se/leap/bitmaskclient/test/testDashboardIntegration.java @@ -162,26 +162,28 @@ public class testDashboardIntegration extends ActivityInstrumentationTestCase2<D changeProvider("demo.bitmask.net"); connectVpn(); disconnectVpn(); - - changeProvider("calyx.net"); - connectVpn(); - disconnectVpn(); changeProvider("riseup.net"); connectVpn(); disconnectVpn(); + + changeProvider("calyx.net"); + connectVpn(); + disconnectVpn(); } private void changeProvider(String provider) { tapSwitchProvider(); solo.clickOnText(provider); useRegistered(); + solo.waitForText("Downloading VPN certificate"); + assertDisconnected(); } private void connectVpn() { Switch vpn_switch = (Switch)solo.getView(R.id.eipSwitch); assertFalse(vpn_switch.isChecked()); - + solo.clickOnView(vpn_switch); turningEipOn(); } |