Skip to content

Commit

Permalink
fix hide original items selector in collection creator
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Nov 22, 2024
1 parent 6929928 commit 5f5081f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,11 @@ watch(
{{ localize("Remove file extensions?") }}
</BFormCheckbox>
<BFormCheckbox v-model="localHideSourceItems" name="hide-originals" switch>
<BFormCheckbox
v-model="localHideSourceItems"
name="hide-originals"
data-description="hide original elements"
switch>
<HelpText
uri="galaxy.collections.collectionBuilder.hideOriginalElements"
:text="localize('Hide original elements')" />
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 @@ -1987,7 +1987,7 @@ def _wait_for_input_text_component_and_fill(self, component, text):
target_element.send_keys(text)

def collection_builder_hide_originals(self):
self.wait_for_and_click_selector("input.hide-originals")
self.wait_for_and_click_selector(f'data-description="hide original elements"')

def collection_builder_create(self):
self.wait_for_and_click_selector("button.create-collection")
Expand Down

0 comments on commit 5f5081f

Please sign in to comment.