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

This commit is contained in:
Amedeo Lepore
2024-05-09 12:48:17 +02:00
committed by DominikIwanek
parent fc94b8406b
commit 275267da04
@@ -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);
}