Skip to content

Commit

Permalink
Add support for shadcn and clean up components (ohcnetwork#8706)
Browse files Browse the repository at this point in the history
... also added figtree as default font 

Co-authored-by: Gigin George <[email protected]>
Co-authored-by: rithviknishad <[email protected]>
  • Loading branch information
3 people authored and chakribontha committed Oct 9, 2024
1 parent 07d6c07 commit d82eee1
Show file tree
Hide file tree
Showing 154 changed files with 11,505 additions and 9,734 deletions.
4 changes: 2 additions & 2 deletions components.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tailwind": {
"config": "tailwind.config.js",
"css": "src/style/index.css",
"baseColor": "zinc",
"baseColor": "gray",
"cssVariables": false,
"prefix": ""
},
Expand All @@ -17,4 +17,4 @@
"lib": "@/lib",
"hooks": "@/hooks"
}
}
}
25 changes: 0 additions & 25 deletions cypress/e2e/patient_spec/PatientRegistration.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,31 +304,6 @@ describe("Patient Creation with consultation", () => {
);
});

it("Patient Registration using External Result Import", () => {
// copy the patient external ID from external results
cy.awaitUrl("/external_results");
patientExternal.verifyExternalListPatientName(patientExternalName);
patientExternal.verifyExternalIdVisible();
// cypress have a limitation to work only asynchronously
// import the result and create a new patient
let extractedId = "";
cy.get("#patient-external-id")
.invoke("text")
.then((text) => {
extractedId = text.split("Care external results ID: ")[1];
cy.log(`Extracted Care external results ID: ${extractedId}`);
cy.awaitUrl("/patients");
patientPage.createPatient();
patientPage.selectFacility(patientFacility);
patientPage.patientformvisibility();
patientExternal.clickImportFromExternalResultsButton();
patientExternal.typeCareExternalResultId(extractedId);
patientExternal.clickImportPatientData();
});
// verify the patient is successfully created
patientExternal.verifyExternalPatientName(patientExternalName);
});

afterEach(() => {
cy.saveLocalStorage();
});
Expand Down
28 changes: 0 additions & 28 deletions cypress/pageobject/Patient/PatientExternal.ts

This file was deleted.

Loading

0 comments on commit d82eee1

Please sign in to comment.