[AAE-21089] Fix e2e Search - fix checkbox selector

This commit is contained in:
Amedeo Lepore
2024-03-28 02:27:43 +00:00
committed by Vito Albano
parent ad4a4c1e41
commit 782411c796
@@ -31,7 +31,7 @@ export class CheckboxWidgetPage {
}
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);
}