From f01971352e80dea9d88a9e61712a6d4103f84d37 Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Wed, 31 Jul 2024 18:38:35 +0530 Subject: [PATCH] fix cypress --- cypress/pageobject/Patient/PatientCreation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/pageobject/Patient/PatientCreation.ts b/cypress/pageobject/Patient/PatientCreation.ts index 482c281c63a..d6ed12c80b3 100644 --- a/cypress/pageobject/Patient/PatientCreation.ts +++ b/cypress/pageobject/Patient/PatientCreation.ts @@ -46,7 +46,7 @@ export class PatientPage { } checkPhoneNumberIsEmergencyNumber() { - cy.get("#emergency_contact_checkbox > div > input").click(); + cy.get("#emergency_contact_checkbox").click(); } typePatientDateOfBirth(dateOfBirth: string) {