Skip to content

Commit

Permalink
this drop down doesn't exist anymore...
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Mar 20, 2023
1 parent 8b8078f commit 6c2a011
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 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 @@ -210,7 +210,7 @@ history_panel:
alltags: '${_} .stateless-tags .tag'
metadata_file_download: '${_} [data-description="download ${metadata_name}"]'

dataset_operations_dropdown: '${_} .dataset-actions'
dataset_operations: '${_} .dataset-actions'

# re-usable history editor, scoped for use in different layout scenarios (multi, etc.)
editor:
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/selenium/navigates_galaxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,7 @@ def history_multi_view_display_collection_contents(self, collection_hid, collect

def history_panel_item_view_dataset_details(self, hid):
item = self.history_panel_item_component(hid=hid)
item.dataset_operations_dropdown.wait_for_and_click()
item.dataset_operations.wait_for_visible()
item.info_button.wait_for_and_click()
self.components.dataset_details._.wait_for_visible()

Expand Down
6 changes: 2 additions & 4 deletions lib/galaxy_test/selenium/test_history_dataset_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,13 @@ def _assert_action_buttons(self, hid, expected_buttons=None):

def _assert_downloadable(self, hid, is_downloadable=True):
item = self.history_panel_item_component(hid=hid)
item.dataset_operations_dropdown.wait_for_and_click()
item.dataset_operations.wait_for_visible()
item.info_button.wait_for_visible()
if is_downloadable:
assert item.download_button.is_displayed
else:
item.download_button.assert_absent_or_hidden()

# close menu...
item.dataset_operations_dropdown.wait_for_and_click()
item.dataset_operations.wait_for_visible()
self.sleep_for(self.wait_types.UX_RENDER)

def _assert_buttons(self, hid, expected_buttons):
Expand Down

0 comments on commit 6c2a011

Please sign in to comment.