diff --git a/e2e/pages/registration-and-edit-page.ts b/e2e/pages/registration-and-edit-page.ts index e08c904..6186c24 100644 --- a/e2e/pages/registration-and-edit-page.ts +++ b/e2e/pages/registration-and-edit-page.ts @@ -24,7 +24,7 @@ export class RegistrationAndEditPage { readonly givenNameInput = () => this.page.locator('#givenName'); readonly middleNameInput = () => this.page.locator('#middleName'); readonly familyNameInput = () => this.page.locator('#familyName'); - readonly sexRadioButton = (sex: PatientRegistrationSex) => this.page.locator(`label[for=${sex}]`); + readonly sexRadioButton = (sex: PatientRegistrationSex) => this.page.locator(`label[for=gender-option-${sex}]`); readonly birthdateInput = () => this.page.locator('#birthdate'); readonly address1Input = () => this.page.locator('#address1'); readonly countryInput = () => this.page.locator('#country');