BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

Bahmni 제품 회귀 테스트 스위트

자동화 저장소: https://github.com/Bahmni/bahmni-ui-test-automation

Sl NoModuleTest ScenarioTest CaseTest StepsJira IDSpec File
1RegistrationPatient registration testsRegister and verify patient demographic detailsLogin as AdminNavigate to Registration moduleCreate new patient with all details (name, gender, DOB, phone, email)Upload patient photoFill address informationSave patientSearch and open patient by IDVerify basic, contact and address informationBAH-4252, BAH-4244, BAH-4275registerSearch.spec.ts
2RegistrationPatient registration testsVerify patient relationshipLogin as AdminCreate first patient and saveCreate second patientAdd Father/Son relationship to second patient linking first patientSave second patientVerify relationship on second patientNavigate to first patientVerify reciprocal relationship (Son) on first patientBAH-4253, BAH-4389registerSearch.spec.ts
3ClinicalClinical Consultation TestsAdd allergy with severity and reaction in consultationNavigate to clinical moduleAdd allergy (allergen, severity, reaction) in consultationSave and verify allergy displayed in patient summaryBAH-4449consultation.spec.ts
4ClinicalClinical Consultation TestsOrder investigation and procedure in consultationNavigate to clinical moduleAdd investigations (single test, panel, radiology) and a procedure in consultationSave and verify each displayed under Lab Investigations, Radiology Investigations, and Procedures sectionsBAH-4449consultation.spec.ts
5ClinicalClinical Consultation TestsAdd condition and diagnosis in consultationNavigate to clinical moduleAdd condition and diagnosis in consultationSave and verify condition displayedVerify diagnosis displayedBAH-4449consultation.spec.ts
6ClinicalClinical Consultation TestsAdd medication in consultationNavigate to clinical moduleAdd medication (drug, dosage, frequency, duration, route) in consultationSave and verify medication displayedBAH-4449consultation.spec.ts
7ClinicalClinical Consultation TestsAdd vaccination in consultationNavigate to clinical moduleAdd vaccination in consultationReload pageVerify vaccination displayedBAH-4405, BAH-4393consultation.spec.ts
8ClinicalClinical Consultation TestsAdd vitals observation form in consultationNavigate to clinical moduleFill and save vitals formVerify vitals in observations sectionVerify vitals flowsheetOpen vitals form modal and verify dataBAH-4449consultation.spec.ts
9ClinicalDuplicate Medication TestsAdding an active medication in different dosage in a new consultation shows duplicate errorNavigate to clinical moduleAdd first medication and save consultationVerify first medication displayedIn new consultation, search for same drug with different dosageVerify duplicate medication error shownCancel consultationduplicateMedication.spec.ts
10LabLab OrdersValidate lab orders - order anemia panel and absolute atypical lymphocyte count and verify resultsNavigate to clinical moduleOrder Anemia Panel and Atypical Lymphocyte Count investigationsSave consultationPost lab results via FHIR API (anemia + atypical lymph reports)Reload pageVerify anemia lab results displayedVerify atypical lymphocyte lab results displayedBAH-4412, BAH-4385labOrders.spec.ts
11Observation FormsObservation Form TestsAdd admission letter observation form in consultationNavigate to clinical moduleFill and save Admission Letter formOpen Admission Letter form from observationsVerify form dataClose modalBAH-4449, BAH-4280, BAH-4285, BAH-4382observationForms.spec.ts
12Observation FormsObservation Form TestsAdd vitals observation form in consultationNavigate to clinical moduleFill and save Vitals formVerify vitals in observations sectionVerify vitals flowsheetOpen Vitals form modal and verify dataClose modalBAH-4449, BAH-4280, BAH-4285, BAH-4382observationForms.spec.ts
13Observation FormsObservation Form TestsAdd death note observation form in consultationNavigate to clinical moduleFill and save Death Note formOpen Death Note form from observationsVerify form dataClose modalBAH-4449, BAH-4280, BAH-4285, BAH-4382observationForms.spec.ts
14Observation FormsObservation Form TestsAdd diabetes progress observation form in consultationNavigate to clinical moduleFill and save Diabetes Progress formOpen Diabetes Progress form from observationsVerify form dataClose modalBAH-4449, BAH-4280, BAH-4285, BAH-4382observationForms.spec.ts
15Observation FormsObservation Form TestsAdd malaria observation form in consultationNavigate to clinical moduleFill and save Malaria formOpen Malaria form from observationsVerify form dataClose modalBAH-4449, BAH-4280, BAH-4285, BAH-4382observationForms.spec.ts
16E2EEnd-to-End Patient Flow with different user rolesE2E patient flowLogin as Front Desk — Register patient — Start OPD visitLogoutLogin as Doctor — Navigate to patient clinicalAdd allergy, condition/diagnosis, and medication in consultationLogoutLogin as Clinical Read user — Navigate to patient clinicalVerify allergy, diagnosis, and medication displayedLogoutPrivilegee2ePatientFlow.spec.ts
17RegistrationEdit patient registration testsEdit patient and verifyLogin as AdminRegister a new patient with name, gender, DOB, phone, email, address and saveEdit patient details with new dataSave updated patientSearch and open patient by updated nameVerify updated basic, contact and address informationeditRegistration.spec.ts
18ClinicalAppointments Display TestsUpcoming appointments sorted ASC and past appointments sorted DESCSet up patient with 2 upcoming (10:00 AM, 2:00 PM) and 2 past (10:00 AM, 2:00 PM) appointments via APINavigate to clinical moduleVerify Upcoming tab is active with 2 Scheduled appointmentsVerify upcoming appointments are sorted in ascending order by timeClick Past tabVerify 2 Completed appointments are sorted in descending order by timeappointments.spec.ts
19ClinicalPatient Document TestsView uploaded patient documents in clinical dashboardUpload patient documents via APINavigate to clinical moduleVerify document is displayed by identifier and document typeOpen attachmentVerify all attachments are displayedpatientDocuments.spec.ts
20LabRadiology InvestigationsValidate radiology report - order echocardiogram and verify report resultsNavigate to clinical moduleOrder Echocardiogram investigation in consultationSave consultationPost echocardiogram report via FHIR APIReload pageVerify echocardiogram report results displayedinvestigations.spec.ts
21Registration (API)Patient Registration E2E API TestsCreate patient with demographics, verify details, start OPD visit and confirm visit is activePOST /patientprofile — create patient with name, gender, DOB, phone, email, address; verify 200 and patient UUIDGET /patientprofile — verify stored demographics match payloadGET /visit — confirm no active visit exists yetPOST /visit — start OPD visit; verify 201 and visitType contains OPDGET /visit — confirm visit is active and stopDatetime is nullregistration.spec.ts, patient.spec.ts
22Registration (API)Patient Registration Edge CasesIdentifier auto-generation, jump detection, and birthdate handlingPOST /patientprofile without specifying identifier — verify identifier auto-generated with configured prefixPOST /patientprofile with manually-entered identifier that jumps ahead of sequence — verify 412 returnedPOST /patientprofile with exact birthdate (birthdateEstimated=false) — verify exact date stored and flag is falsePOST /patientprofile with estimated birthdate (birthdateEstimated=true) — verify flag stored as truepatientRegistrationEdgeCases.spec.ts
23Registration (API)Patient Registration Edge CasesName length validation and patient relationshipsPOST /patientprofile with givenName exceeding 50 characters — verify 400 returnedPOST /patientprofile with familyName exceeding 50 characters — verify 400 returnedPOST /patientprofile with a relationship to another patient — verify patient and relationship createdGET /relationship — verify relationship is retrievablePOST /patientprofile with empty personB.uuid — verify relationship is not persistedpatientRegistrationEdgeCases.spec.ts
24Registration (API)FHIR Patient Resource MappingGET /fhir2/R4/Patient maps OpenMRS person fields to FHIR Patient resourcePOST /patientprofile to create a patientGET /fhir2/R4/Patient/{uuid} — verify resourceType is PatientVerify identifier value, name (given + family), gender and birthDate map correctly from OpenMRS person fieldsfhirPatient.spec.ts
25Clinical (API)Patient Data IsolationFHIR queries return only the queried patient's dataCreate two patients (A and B) each with a different allergy (penicillin / aspirin) via ConsultationBundleGET /fhir2/R4/AllergyIntolerance?patient={A} — verify only A's allergy returned; B's allergy absent; all patient references contain A's UUIDGET /fhir2/R4/AllergyIntolerance?patient={B} — verify only B's allergy returned; A's allergy absentGET /fhir2/R4/Encounter?subject:Patient={A} — verify all returned encounters belong to patient A onlydataIsolation.spec.ts
26Clinical (API)Clinical Dashboard Privilege ChecksRole-based access control for FHIR clinical resourcesGET /fhir2/R4/AllergyIntolerance without authentication — verify 401 returnedGET AllergyIntolerance, Condition, MedicationRequest, ServiceRequest, Observation as doctor role — verify 200GET same resources as nurse role — verify 200GET same resources as clinicalRead role — verify 200POST /fhir2/R4/ConsultationBundle as doctor role — verify 200 or 201clinicalDashboardPrivileges.spec.ts
27Clinical (API)AllergyIntolerance via ConsultationBundleSave allergy, verify FHIR fields, and validate error casesPOST /fhir2/R4/ConsultationBundle with allergy entryGET /fhir2/R4/AllergyIntolerance — verify allergy appears with correct patient reference, valid category, allergen code, reaction severity and manifestation codePOST duplicate allergen for same patient — verify 400 returnedPOST bundle with invalid patient reference — verify 400 returnedGET with _count=1 — verify 1 entry returned; GET with _count=2 — verify 2 entries returnedallergy.spec.ts
28Clinical (API)Conditions via ConsultationBundleSave encounter-diagnosis and problem-list-item; verify category isolationPOST ConsultationBundle with encounter-diagnosis — verify Condition saved with correct code, category, subject, encounter reference and recorderPOST ConsultationBundle with problem-list-item — verify Condition saved with correct code, clinicalStatus active, onsetDateTime; no encounter referenceGET /fhir2/R4/Condition?category=problem-list-item — verify encounter-diagnosis does not appearGET /fhir2/R4/Condition?category=encounter-diagnosis — verify problem-list-item does not appearconditions.spec.ts
29Clinical (API)Observation Forms via ConsultationBundleSubmit Vitals and Obstetrics and Gynaecology observation forms and verifyPOST /fhir2/R4/ConsultationBundle with Vitals and Obstetrics and Gynaecology observations — verify response echoes all submitted observations with matching values, notes, interpretation and form-namespace extensionGET /bahmnicore/patient/{uuid}/forms?numberOfVisits=10 — verify both Vitals and Obstetrics and Gynaecology forms appear for the encounterGET /fhir2/R4/Observation/$fetch-all?encounter={uuid} — verify all submitted observations returned with values preservedobservationForms.spec.ts
30Clinical (API)Appointments via APICreate single and recurring appointments and verify via FHIRPOST /appointment — create single appointment; verify status Scheduled, patient, service, provider, location and datetimePOST /recurring-appointments with DAY frequency, period=1, frequency=3 — verify 3 instances created sharing one booking identifierGET /fhir2/R4/Appointment?patient={uuid} — verify 1 regular + 3 recurring instances returned with correct service, dates and practitionerappointments.spec.ts
31Lab (API)Lab Orders via ConsultationBundleOrder single lab test, panel, radiology and procedure; verify ServiceRequest fieldsPOST ConsultationBundle with single lab test — GET ServiceRequest; verify status active, category lab, requester, note and urgency extensionPOST ConsultationBundle with panel lab test — verify ServiceRequest reuses same encounterPOST ConsultationBundle with radiology order — verify ServiceRequest with radiology categoryPOST ConsultationBundle with procedure order — verify ServiceRequest with procedure categorylabOrder.spec.ts
32Lab (API)Lab Orders — Visit FilteringGET ServiceRequest with numberOfVisits limits orders to N most recent visitsCreate patient with lab and radiology orders across two separate visitsGET lab ServiceRequests with numberOfVisits=1 — verify only orders from most recent visit returnedGET lab ServiceRequests with numberOfVisits=2 — verify orders from both visits returnedGET radiology ServiceRequests with numberOfVisits=1 — verify only most recent visit orders returnedGET radiology ServiceRequests with numberOfVisits=2 — verify orders from both visits returnedlabOrder.spec.ts
33Lab (API)DiagnosticReport — Lab ResultsSubmit DiagnosticReport with various observation types and verify via $fetch-bundlePOST DiagnosticReport/$submit-bundle with single numeric observation — verify final status and valueQuantityPOST with panel (numeric x6) — verify 6 result references and observation valuesPOST with coded observation and 1 attachment — verify presentedForm and valueCodeableConceptPOST with mixed observations (numeric + text + coded) and 3 attachments — verify all typesPOST with text observation — verify valueStringPOST with boolean observation — verify valueBooleanlabOrder.spec.ts
34Lab (API)DiagnosticReport — Radiology ResultsSubmit radiology DiagnosticReports and verify echocardiogram and X-ray resultsOrder Echocardiogram and X-ray Arm via ConsultationBundlePOST DiagnosticReport/$submit-bundle for Echocardiogram — GET $fetch-bundle; verify 15 mixed observations including ejection fraction (valueQuantity), LV function (valueCodeableConcept) and summary (valueString)POST DiagnosticReport/$submit-bundle for X-ray Arm — GET $fetch-bundle; verify 8 observations including summary text, swelling coded value and arm length numeric valuelabOrder.spec.ts
35Clinical (API)Patient Documents via FHIRRegister patient documents and verify via DocumentReferenceUpload PNG via document upload APIPOST /fhir2/R4/DocumentReference with single attachment — verify 201, patient reference, masterIdentifier, content URL and authorUpload PNG and PDF; POST DocumentReference with multiple attachments — verify 2 content entries with correct URLsGET /fhir2/R4/DocumentReference?patient={uuid} sorted by _lastUpdated DESC — verify both docs returned sorted newest first with attachment counts and practitioner preservedpatientDocuments.spec.ts
36Clinical (API)Medication Orders via ConsultationBundleOrder medications across all supported routes and verify MedicationRequest fieldsPOST ConsultationBundle for each route; verify MedicationRequest status active, route code, dose value/unit, frequency, duration and total dispense quantityRoutes: Oral (Acetaminophen Tablet), Intravenous (Acetaminophen Injection), Intramuscular (Anti-rabies vaccine), Sub Cutaneous (Insulin), Inhalation PRN (Isoflurane)Routes: Sub Lingual (Nitroglycerin), Nasogastric (ORS Powder), Per Rectum (Acetaminophen Suppository), Nasal (Xylometazoline), Topical (Lidocaine Gel)Routes: Per Vaginal (Clotrimazole Pessary), Intradermal (Thiopental), Intraperitoneal (Amoxicillin), Intrathecal (Diltiazem), Intraosseous (Epinephrine)medication.spec.ts
37Clinical (API)Medication SearchSearch medications by name and verify _count limitingGET /fhir2/R4/Medication?name=par with _count=20 — verify matching medications returned with display containing search termGET /fhir2/R4/Medication?name=p — verify results returned for single-character searchGET /fhir2/R4/Medication?name=a with _count=5 — verify at most 5 results returnedmedication.spec.ts
38Clinical (API)ConsultationBundle Server-Enforced ValidationValidate encounter datetime constraints and bundle transaction atomicityPOST ConsultationBundle with encounter datetime in the future — verify 400 returnedPOST ConsultationBundle with encounter datetime before visit start — verify 400 returnedPOST bundle with valid allergy and invalid ServiceRequest — verify 400; GET Encounter confirms no consultation encounter persistedRepeat partial failure bundle — GET AllergyIntolerance confirms no allergy persisted (full rollback)bundleValidation.spec.ts
39Clinical (API)TB Program EnrollmentEnroll patient in TB Program and verify enrollment detailsPOST /bahmniprogramenrollment — enroll patient in TB Program with initial state and 4 attributes (ID number, treatment date, doctor in charge, patient stage)Verify response: patient UUID, program UUID, dateEnrolled, 1 initial state and 4 attributesGET /bahmniprogramenrollment?patient={uuid} — verify enrollment returned with program name, episodeUuid, initial state (endDate null) and all 4 attribute valuesprograms.spec.ts
원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗