Remove ui cache download test - to much unstable

This commit is contained in:
Théophile Diot 2023-06-01 10:30:17 -04:00
parent d1138855ee
commit 8b2517cdf0
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 19 deletions

View File

@ -995,25 +995,7 @@ with webdriver.Firefox(
assert_button_click(driver, "//button[@data-cache-modal-submit='']")
print(
"The cache file content is correct, trying to download it ...", flush=True
)
assert_button_click(
driver, "//div[@data-cache-action-button='mmdb-asn/asn.mmdb']"
)
assert_button_click(
driver,
"//div[@data-cache-action-dropdown='mmdb-asn/asn.mmdb']/button[@value='download']",
)
sleep(0.3)
if len(driver.window_handles) > 1:
print("The cache file hasn't been downloaded, exiting ...", flush=True)
exit(1)
print("The cache file has been downloaded, trying logs page ...", flush=True)
"The cache file content is correct, trying logs page ...", flush=True)
access_page(
driver, driver_wait, "/html/body/aside[1]/div[1]/div[2]/ul/li[8]/a", "logs"