Skip to content

Commit

Permalink
fix _perform_upload method to use proper selector
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Nov 6, 2024
1 parent 3e30f27 commit 6364764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions client/src/components/Upload/UploadContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,7 @@ defineExpose({
</span>
</BAlert>
<BTabs v-else-if="ready">
<BTab
v-if="showRegular"
id="regular"
title="Regular"
button-id="tab-title-link-regular"
:active.sync="regularTabActive">
<BTab v-if="showRegular" title="Regular" button-id="tab-title-link-regular" :active.sync="regularTabActive">
</BTab>
<BTab v-if="showComposite" id="composite" title="Composite" button-id="tab-title-link-composite">
<CompositeBox
Expand All @@ -197,7 +192,6 @@ defineExpose({
</BTab>
<BTab
v-if="showCollection"
id="collection"
title="Collection"
button-id="tab-title-link-collection"
:active.sync="collectionTabActive">
Expand All @@ -213,6 +207,7 @@ defineExpose({
<DefaultBox
v-if="showRegular || showCollection"
v-show="regularTabActive || collectionTabActive"
:id="collectionTabActive ? 'collection' : 'regular'"
ref="regular"
:chunk-upload-size="chunkUploadSize"
:default-db-key="defaultDbKey"
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 @@ -894,7 +894,7 @@ def _perform_upload(

self.upload_start()

self.wait_for_and_click_selector("button#btn-close")
self.components.upload.close_button.wait_for_and_click()

def perform_upload_of_composite_dataset_pasted_data(self, ext, paste_content):
self.home()
Expand Down

0 comments on commit 6364764

Please sign in to comment.