summaryrefslogtreecommitdiff
path: root/app/src/androidTest/java/se/leap/bitmaskclient/test/testVpnFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/androidTest/java/se/leap/bitmaskclient/test/testVpnFragment.java')
-rw-r--r--app/src/androidTest/java/se/leap/bitmaskclient/test/testVpnFragment.java11
1 files changed, 2 insertions, 9 deletions
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 d23be601..12cb8c14 100644
--- a/app/src/androidTest/java/se/leap/bitmaskclient/test/testVpnFragment.java
+++ b/app/src/androidTest/java/se/leap/bitmaskclient/test/testVpnFragment.java
@@ -1,21 +1,14 @@
package se.leap.bitmaskclient.test;
-public class testVpnFragment extends BaseTestDashboard {
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- Screenshot.initialize(solo);
- }
+public class testVpnFragment extends BaseTestDashboardFragment {
/**
* This test will fail if Android does not trust VPN connection.
* I cannot automate that dialog.
*/
public void testOnOffOpenVpn() {
- Screenshot.take("Initial UI");
vpn_controller.clickVpnButton();
- Screenshot.setTimeToSleep(5);
+ Screenshot.setTimeToSleep(8);
Screenshot.takeWithSleep("Turning VPN on");
vpn_controller.turningEipOn();
Screenshot.setTimeToSleep(0.5);