From 5dc4c10a6d57bc3318effc16412513402f4e9a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Mon, 5 Feb 2024 14:20:22 +0100 Subject: [PATCH] Add delay before making flagged requests in UI tests --- tests/ui/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ui/main.py b/tests/ui/main.py index 5d0a457cb..9c49194fc 100644 --- a/tests/ui/main.py +++ b/tests/ui/main.py @@ -222,6 +222,8 @@ with driver_func() as driver: while current_time + timedelta(minutes=5) > datetime.now() and not driver.current_url.endswith("/login"): sleep(1) + sleep(10) + for _ in range(5): get("http://127.0.0.1/?id=/etc/passwd") sleep(0.5)