Send more flagged requests in ui tests

This commit is contained in:
Théophile Diot 2024-02-05 12:55:28 +01:00
parent d0aeedebff
commit 427b7efc91
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -222,7 +222,9 @@ with driver_func() as driver:
while current_time + timedelta(minutes=5) > datetime.now() and not driver.current_url.endswith("/login"):
sleep(1)
get(f"http://www.example.com{ui_url}/home?id=/etc/passwd")
for _ in range(5):
get(f"http://www.example.com{ui_url}/home?id=/etc/passwd")
sleep(0.5)
### LOGIN PAGE