summaryrefslogtreecommitdiff
path: root/tests/functional/features/steps
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/features/steps')
-rw-r--r--tests/functional/features/steps/vpn.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/functional/features/steps/vpn.py b/tests/functional/features/steps/vpn.py
index f08c2af7..056b2cdf 100644
--- a/tests/functional/features/steps/vpn.py
+++ b/tests/functional/features/steps/vpn.py
@@ -4,11 +4,15 @@ from common import (
wait_until_button_is_visible,
find_element_containing_text
)
+from selenium.common.exceptions import TimeoutException
@when('I activate VPN')
def activate_vpn(context):
- click_button(context, 'Install Helper Files')
+ try:
+ click_button(context, 'Install Helper Files')
+ except TimeoutException:
+ pass
click_button(context, 'Turn ON')