mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4960] Update clickCheckbox() method in Datatable component (#5159)
* Checked element is the input of type="checkbox"
This commit is contained in:
committed by
Denys Vuika
parent
e229ae820f
commit
6389019561
@@ -59,7 +59,7 @@ export class DataTableComponentPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async clickCheckbox(columnName: string, columnValue): Promise<void> {
|
async clickCheckbox(columnName: string, columnValue): Promise<void> {
|
||||||
const checkbox = this.getRowCheckbox(columnName, columnValue);
|
const checkbox = this.getRowCheckbox(columnName, columnValue).element(by.css(`input[type='checkbox']`));
|
||||||
await BrowserActions.click(checkbox);
|
await BrowserActions.click(checkbox);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user