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:
Alireza Heidari
2026-07-21 20:54:32 +02:00
parent 3ed5af31e4
commit fa7684ffb3
+1 -1
View File
@@ -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: