From 8b2517cdf07aab0d37fccaa500daba8379a6bc0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Thu, 1 Jun 2023 10:30:17 -0400 Subject: [PATCH] Remove ui cache download test - to much unstable --- tests/ui/main.py | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/tests/ui/main.py b/tests/ui/main.py index 15d376d1..470e7975 100644 --- a/tests/ui/main.py +++ b/tests/ui/main.py @@ -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"