From 56dbac123291f356e33f2b0320b9efcf397d5c2f Mon Sep 17 00:00:00 2001 From: Taka Date: Thu, 21 May 2020 06:22:03 +0000 Subject: [PATCH] Increased timeouts during tests. --- vasl_templates/webapp/tests/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vasl_templates/webapp/tests/utils.py b/vasl_templates/webapp/tests/utils.py index 122b136..824d66b 100644 --- a/vasl_templates/webapp/tests/utils.py +++ b/vasl_templates/webapp/tests/utils.py @@ -528,7 +528,9 @@ def _get_clipboard() : def wait_for( timeout, func ): """Wait for a condition to become true.""" if os.name == "nt": - timeout *= 2 # Selenium runs pretty slow on Windows :-/ + timeout *= 5 # Selenium runs pretty slow on Windows :-/ + else: + timeout *= 2 start_time = time.time() while True: if func():