Skip to content

Commit 7907745

Browse files
authored
Update registration-and-edit-page.ts
1 parent df6e27b commit 7907745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/pages/registration-and-edit-page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class RegistrationAndEditPage {
2424
readonly givenNameInput = () => this.page.locator('#givenName');
2525
readonly middleNameInput = () => this.page.locator('#middleName');
2626
readonly familyNameInput = () => this.page.locator('#familyName');
27-
readonly sexRadioButton = (sex: PatientRegistrationSex) => this.page.locator(`label[for=${sex}]`);
27+
readonly sexRadioButton = (sex: PatientRegistrationSex) => this.page.locator(`label[for=gender-option-${sex}]`);
2828
readonly birthdateInput = () => this.page.locator('#birthdate');
2929
readonly address1Input = () => this.page.locator('#address1');
3030
readonly countryInput = () => this.page.locator('#country');

0 commit comments

Comments
 (0)