mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-5314] Data table row should be clickable anywhere (#8671)
* [ACS-5314] bug fix * [ACS-5314] empty commit * rebase * [ACS-5314] rebase * [ACS-5314] fixed multiselect on checkbox * [ACS-5314] fixed checkbox selector for e2e
This commit is contained in:
committed by
GitHub
parent
a933070fc3
commit
2f3f5ae02b
@@ -494,7 +494,7 @@ export class DataTableComponentPage {
|
||||
}
|
||||
|
||||
async clickRowByContentCheckbox(name: string): Promise<void> {
|
||||
const resultElement = this.rootElement.$$(`div[data-automation-id='${name}']`).first().element(by.xpath(`ancestor::adf-datatable-row/div/mat-checkbox`));
|
||||
const resultElement = this.rootElement.$$(`div[data-automation-id='${name}']`).first().element(by.xpath(`ancestor::adf-datatable-row/label/mat-checkbox`));
|
||||
await browser.actions().mouseMove(resultElement);
|
||||
await BrowserActions.click(resultElement);
|
||||
}
|
||||
|
Reference in New Issue
Block a user