mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
Click history label cell to open it in import-from-history dialog
The import-datasets-from-history selenium flow first opens a history (a non-leaf row) before selecting datasets. Opening requires the row's label cell, whose onOpen handler drills into the history; clicking the bare row only fires onClick (dataset selection), so the datasets view never appeared and the 'search datasets' step timed out. Target the label cell (td[id^="g-table-cell-label-"]) for the by-index selector, matching the pre-migration behaviour. Verified locally with the headless selenium test_library_contents suite.
This commit is contained in:
@@ -1390,7 +1390,7 @@ libraries:
|
||||
import_datasets_from_history_modal_dataset_search: '.selection-dialog-modal input[placeholder="search datasets"]'
|
||||
import_datasets_from_history_modal_list_is_ready: '.selection-dialog-modal [data-description="selection dialog busy spinners"]'
|
||||
import_datasets_from_history_modal_select_list_items: '.selection-dialog-modal table tbody tr'
|
||||
import_datasets_from_history_modal_select_list_item_by_index: '.selection-dialog-modal table tbody tr[aria-rowindex="${row_index}"]'
|
||||
import_datasets_from_history_modal_select_list_item_by_index: '.selection-dialog-modal table tbody tr[aria-rowindex="${row_index}"] td[id^="g-table-cell-label-"]'
|
||||
import_datasets_from_history_modal_ok: '.selection-dialog-modal [data-description="selection dialog ok"]'
|
||||
import_datasets_from_history_modal_cancel: '.selection-dialog-modal [data-description="selection dialog cancel"]'
|
||||
add_to_history_as_collection:
|
||||
|
||||
Reference in New Issue
Block a user