mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Add delay before making flagged requests in UI tests
This commit is contained in:
parent
412849e9ec
commit
5dc4c10a6d
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue