mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[AAE-21089] Fix e2e Search - fix checkbox selector
This commit is contained in:
parent
60256106ce
commit
a03e352ff6
@ -31,7 +31,7 @@ export class CheckboxWidgetPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async clickCheckboxInput(fieldId: string): Promise<void> {
|
async clickCheckboxInput(fieldId: string): Promise<void> {
|
||||||
const checkboxInput = $$(`${this.checkboxLocator}[id="${fieldId}"] span`).first();
|
const checkboxInput = $$(`${this.checkboxLocator}[id="${fieldId}"] input`).first();
|
||||||
await BrowserActions.click(checkboxInput);
|
await BrowserActions.click(checkboxInput);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user