diff --git a/cypress/pageobject/Patient/PatientCreation.ts b/cypress/pageobject/Patient/PatientCreation.ts index 39527988165..482c281c63a 100644 --- a/cypress/pageobject/Patient/PatientCreation.ts +++ b/cypress/pageobject/Patient/PatientCreation.ts @@ -164,8 +164,8 @@ export class PatientPage { yearOfBirth, bloodGroup, occupation, - isAntenatal, - isPostPartum, + isAntenatal = false, + isPostPartum = false, ) { cy.url().should("include", "/facility/"); cy.get("[data-testid=patient-dashboard]").then(($dashboard) => {