Skip to content

Commit

Permalink
Replace click with wait_for_and_click in selenium test
Browse files Browse the repository at this point in the history
Co-authored-by: Laila Los <[email protected]>
  • Loading branch information
davelopez and ElectronicBlueberry committed Sep 29, 2023
1 parent 1c29d33 commit 4e20d95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/galaxy_test/selenium/test_history_multi_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def test_list_list_display(self):
method = self.dataset_collection_populator.create_list_of_list_in_history(history_id, wait=True).json
self.prepare_multi_history_view(method)
dataset_selector = self.history_panel_wait_for_hid_state(1, None, multi_history_panel=True)
self.click(dataset_selector)
dataset_selector.wait_for_and_click()
dataset_selector = self.history_panel_wait_for_hid_state(3, None, multi_history_panel=True)
self.click(dataset_selector)
dataset_selector.wait_for_and_click()
self.screenshot("multi_history_list_list")

def prepare_multi_history_view(self, collection_populator_method):
Expand All @@ -42,5 +42,5 @@ def prepare_multi_history_view(self, collection_populator_method):
self.home()
self.open_history_multi_view()
selector = self.history_panel_wait_for_hid_state(collection_hid, "ok", multi_history_panel=True)
self.click(selector)
selector.wait_for_and_click()
return selector

0 comments on commit 4e20d95

Please sign in to comment.