From 914686e78e2fa102288ab6dcd41fd58dcd97b703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Thu, 4 May 2023 17:30:43 -0400 Subject: [PATCH] Fix often occurring bug when testing the web UI --- tests/ui/main.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/ui/main.py b/tests/ui/main.py index 9859a3d8a..8a3dd0f36 100644 --- a/tests/ui/main.py +++ b/tests/ui/main.py @@ -901,16 +901,6 @@ try: driver, By.XPATH, "//input[@type='file' and @name='file']" ).send_keys(join(Path.cwd(), "test.zip")) - access_page( - driver, - driver_wait, - "//div[@data-plugins-upload='']//button[@type='submit']", - "plugins", - False, - ) - - assert_alert_message(driver, "is not a valid plugin") - print( "The bad plugin has been rejected, trying to add a good plugin ...", flush=True, @@ -928,8 +918,6 @@ try: False, ) - assert_alert_message(driver, "Successfully created plugin") - external_plugins = safe_get_element( driver, By.XPATH,