From 1ab994cf81e3f6ca0988f5aada7360bcd3b70a42 Mon Sep 17 00:00:00 2001 From: mahendar Date: Mon, 25 Nov 2024 14:44:32 +0530 Subject: [PATCH] test case --- cypress/pageobject/Sample/SampleTestCreate.ts | 2 +- src/components/Patient/PatientDetailsTab/Demography.tsx | 1 + src/components/Patient/PatientHome.tsx | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cypress/pageobject/Sample/SampleTestCreate.ts b/cypress/pageobject/Sample/SampleTestCreate.ts index f33baceea4e..a8d0187461a 100644 --- a/cypress/pageobject/Sample/SampleTestCreate.ts +++ b/cypress/pageobject/Sample/SampleTestCreate.ts @@ -1,6 +1,6 @@ export class SampleTestPage { visitSampleRequestPage(): void { - cy.get("a").contains("Sample Tests").click(); + cy.get("a").contains("Service Request").click(); cy.verifyAndClickElement("#sample-request-btn", "Request Sample Test"); cy.url().should("include", "/sample-test"); } diff --git a/src/components/Patient/PatientDetailsTab/Demography.tsx b/src/components/Patient/PatientDetailsTab/Demography.tsx index 1e0be29b66b..509cc3f425d 100644 --- a/src/components/Patient/PatientDetailsTab/Demography.tsx +++ b/src/components/Patient/PatientDetailsTab/Demography.tsx @@ -284,6 +284,7 @@ export const Demography = (props: PatientProps) => { id: "volunteer-contact", details: [
- {page == "service-request" && NonReadOnlyUsers && ( + {page == "service-request" && (