mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix ui tests with internal LUA timers
This commit is contained in:
parent
e7afbc9f78
commit
c1dccba6f7
1 changed files with 2 additions and 2 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)
|
||||
|
||||
get(f"http://www.example.com{ui_url}/home?id=/etc/passwd")
|
||||
|
||||
### LOGIN PAGE
|
||||
|
||||
if not driver.current_url.endswith("/login"):
|
||||
|
|
@ -1258,8 +1260,6 @@ location /hello {
|
|||
|
||||
print("The cache file content is correct, trying reporting page ...", flush=True)
|
||||
|
||||
get(f"http://www.example.com{ui_url}/home?id=/etc/passwd")
|
||||
|
||||
access_page(driver, driver_wait, "/html/body/aside[1]/div[1]/div[3]/ul/li[8]/a", "reports")
|
||||
|
||||
### REPORTS PAGE
|
||||
|
|
|
|||
Loading…
Reference in a new issue