From 455bb23d912594bc109cd473b2e0b06db8b888ec Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Mon, 3 Aug 2026 15:05:48 +0200 Subject: [PATCH] Removes redundant test and documentation The deleted module validated exception-handling utilities already covered by existing unit tests. --- doc/source/lib/galaxy_test.selenium.rst | 8 ----- .../selenium/test_navigates_galaxy.py | 29 ------------------- 2 files changed, 37 deletions(-) delete mode 100644 lib/galaxy_test/selenium/test_navigates_galaxy.py diff --git a/doc/source/lib/galaxy_test.selenium.rst b/doc/source/lib/galaxy_test.selenium.rst index 85de6c7db3b..335a46db0b2 100644 --- a/doc/source/lib/galaxy_test.selenium.rst +++ b/doc/source/lib/galaxy_test.selenium.rst @@ -241,14 +241,6 @@ galaxy\_test.selenium.test\_login module :undoc-members: :show-inheritance: -galaxy\_test.selenium.test\_navigates\_galaxy module ----------------------------------------------------- - -.. automodule:: galaxy_test.selenium.test_navigates_galaxy - :members: - :undoc-members: - :show-inheritance: - galaxy\_test.selenium.test\_pages module ---------------------------------------- diff --git a/lib/galaxy_test/selenium/test_navigates_galaxy.py b/lib/galaxy_test/selenium/test_navigates_galaxy.py deleted file mode 100644 index 5521eaddd9a..00000000000 --- a/lib/galaxy_test/selenium/test_navigates_galaxy.py +++ /dev/null @@ -1,29 +0,0 @@ -from galaxy.selenium.has_driver import exception_indicates_not_clickable -from galaxy.selenium.navigates_galaxy import exception_seems_to_indicate_transition -from .framework import ( - selenium_test, - SeleniumTestCase, -) - - -class TestNavigatesGalaxySelenium(SeleniumTestCase): - """Test the Selenium test framework itself. - - Unlike the others test cases in this module, this test case tests the - test framework itself (for when that makes sense, mostly corner cases). - """ - - @selenium_test - def test_click_error(self): - """Verify exception handling stuff by attempting to click on a disabled element in the UI.""" - self.home() - # Open the details, verify they are open and do a refresh. - exception = None - disabled_element_selector = ".show-history-content-selectors-btn" - try: - self.wait_for_selector(disabled_element_selector).click() - except Exception as e: - exception = e - assert exception is not None - assert exception_indicates_not_clickable(exception) - assert exception_seems_to_indicate_transition(exception)