mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Update sort selector titles to match UI
Update Selenium test selectors to use correct selectors, ensuring tests correctly locate and interact with sort controls after label changes.
This commit is contained in:
@@ -230,8 +230,8 @@ class TestSavedHistories(SharedStateSeleniumTestCase):
|
||||
self._login()
|
||||
self.navigate_to_histories_page()
|
||||
|
||||
self.wait_for_and_click_selector('[data-title="Sort by name ascending"]')
|
||||
self.wait_for_and_click_selector('[data-title="Sort by name ascending"]')
|
||||
self.wait_for_and_click_selector('[data-title="Sort by Name ascending"]')
|
||||
self.wait_for_and_click_selector('[data-title="Sort by Name ascending"]')
|
||||
self.sleep_for(self.wait_types.UX_RENDER)
|
||||
|
||||
expected_histories = [self.history2_name, self.history3_name]
|
||||
|
||||
@@ -23,8 +23,8 @@ class TestPublishedHistories(SharedStateSeleniumTestCase):
|
||||
self._login()
|
||||
self.navigate_to_published_histories()
|
||||
|
||||
self.wait_for_and_click_selector('[data-title="Sort by name ascending"]')
|
||||
self.wait_for_and_click_selector('[data-title="Sort by name ascending"]')
|
||||
self.wait_for_and_click_selector('[data-title="Sort by Name ascending"]')
|
||||
self.wait_for_and_click_selector('[data-title="Sort by Name ascending"]')
|
||||
self.sleep_for(self.wait_types.UX_RENDER)
|
||||
|
||||
sorted_histories = self.get_published_history_names_from_server(sort_by="name")
|
||||
@@ -36,7 +36,7 @@ class TestPublishedHistories(SharedStateSeleniumTestCase):
|
||||
self._login()
|
||||
self.navigate_to_published_histories()
|
||||
|
||||
self.wait_for_and_click_selector('[data-title="Sort by update time ascending"]')
|
||||
self.wait_for_and_click_selector('[data-title="Sort by Update time ascending"]')
|
||||
self.sleep_for(self.wait_types.UX_RENDER)
|
||||
|
||||
expected_history_names = self.get_published_history_names_from_server(sort_by="update_time")
|
||||
|
||||
Reference in New Issue
Block a user