From 5e9908675a367a0c6ed4ab63039368b55a09ee55 Mon Sep 17 00:00:00 2001 From: Soumya Maheshwari Date: Mon, 25 Mar 2024 20:30:30 +0530 Subject: [PATCH 1/2] Implemented responsive design for approval letter in resource --- src/Components/Resource/ResourceDetails.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Resource/ResourceDetails.tsx b/src/Components/Resource/ResourceDetails.tsx index 952554c61ef..b50f4c082c3 100644 --- a/src/Components/Resource/ResourceDetails.tsx +++ b/src/Components/Resource/ResourceDetails.tsx @@ -77,7 +77,7 @@ export default function ResourceDetails(props: { id: string }) { const ApprovalLetter = (data: any) => { return (
-
+
APPROVAL LETTER
From 7553015cea7bc6a6933e1b7f4ea2ccb5800e7308 Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Tue, 2 Apr 2024 22:13:24 +0530 Subject: [PATCH 2/2] fix cypress --- cypress/e2e/patient_spec/patient_consultation.cy.ts | 3 ++- cypress/e2e/patient_spec/patient_logupdate.cy.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/patient_spec/patient_consultation.cy.ts b/cypress/e2e/patient_spec/patient_consultation.cy.ts index d851e08ed14..b64fabf2f09 100644 --- a/cypress/e2e/patient_spec/patient_consultation.cy.ts +++ b/cypress/e2e/patient_spec/patient_consultation.cy.ts @@ -35,7 +35,7 @@ describe("Patient Consultation in multiple combination", () => { const procedureName = "Procedure No 1"; const patientWeight = "70"; const patientHeight = "170"; - const medicineOne = "DOLO"; + const medicineOne = "DOLOLUP"; const patientIpNumber = Math.random().toString(36).substring(7); before(() => { @@ -106,6 +106,7 @@ describe("Patient Consultation in multiple combination", () => { patientPrescription.enterDosage("3"); patientPrescription.selectDosageFrequency("Twice daily"); cy.submitButton("Submit"); + cy.wait(2000); cy.verifyNotification("Medicine prescribed"); patientPrescription.clickReturnToDashboard(); // Verify the data's across the dashboard diff --git a/cypress/e2e/patient_spec/patient_logupdate.cy.ts b/cypress/e2e/patient_spec/patient_logupdate.cy.ts index 143be363efc..859cf623f30 100644 --- a/cypress/e2e/patient_spec/patient_logupdate.cy.ts +++ b/cypress/e2e/patient_spec/patient_logupdate.cy.ts @@ -147,6 +147,7 @@ describe("Patient Log Update in Normal, Critical and TeleIcu", () => { patientLogupdate.typeRhythm(patientRhythm); cy.get("#consciousness_level-2").click(); cy.submitButton("Save"); + cy.wait(2000); cy.verifyNotification("Consultation Updates details created successfully"); // Verify the card content cy.get("#basic-information").scrollIntoView();