Add delay before making flagged requests in UI tests

This commit is contained in:
Théophile Diot 2024-02-05 14:20:22 +01:00
parent 412849e9ec
commit 5dc4c10a6d
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -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)