[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:
Mykyta Maliarchuk
2023-07-04 11:10:31 +02:00
committed by GitHub
parent a933070fc3
commit 2f3f5ae02b
3 changed files with 13 additions and 5 deletions

View File

@@ -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);
}