diff --git a/cypress/pageobject/Patient/PatientInsurance.ts b/cypress/pageobject/Patient/PatientInsurance.ts index 6dd1f1abbe3..c5c8fd982f5 100644 --- a/cypress/pageobject/Patient/PatientInsurance.ts +++ b/cypress/pageobject/Patient/PatientInsurance.ts @@ -57,7 +57,7 @@ class PatientInsurance { cy.url().should("include", "/facility/"); expect($dashboard).to.contain(subscriberId); expect($dashboard).to.contain(policyId); - if (hcx_enabled) { + if (!hcx_enabled) { expect($dashboard).to.contain(insurerId); expect($dashboard).to.contain(insurerName); }