Skip to content

Commit

Permalink
Merge pull request galaxyproject#16754 from davelopez/fix_selenium_te…
Browse files Browse the repository at this point in the history
…st_nested_list_multi_view

Fix selenium selector for collections
  • Loading branch information
dannon authored Oct 4, 2023
2 parents cc6f437 + 4e20d95 commit 605d8ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/utils/navigation/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ invocations:
step_output_collection_toggle: '[data-step="${order_index}"] .invocation-step-output-collection-details .name'
step_output_collection_element_identifier:
type: xpath
selector: '//span[@class="content-title name"][text()="${element_identifier}"]'
selector: '//span[contains(@class, "content-title name")][text()="${element_identifier}"]'
step_output_collection_element_datatype: '[data-step="${order_index}"] .invocation-step-output-collection-details .not-loading .datatype .value'
step_job_details: '[data-step="${order_index}"] .invocation-step-job-details'
step_job_table: '[data-step="${order_index}"] .invocation-step-job-details table'
Expand Down
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 605d8ca

Please sign in to comment.