Skip to content

Commit 61ef2be

Browse files
Bawanthathilanjayasanka-sack
andauthoredFeb 27, 2025
O3-4484: Add realtime pauses between visit patient scenario (#70)
* O3-4484: add realtime pauses between visit patient scenario * Increase the lab results pause --------- Co-authored-by: Jayasanka Weerasinghe <33048395+jayasanka-sack@users.noreply.github.com>
1 parent cf602e0 commit 61ef2be

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
 

‎src/test/java/org/openmrs/performance/scenarios/VisitPatientScenario.java

+14
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,33 @@ public ScenarioBuilder getScenarioBuilder() {
2121
.feed(patientUuidFeeder)
2222
.exec(registry.login())
2323
.exec(registry.openHomePage())
24+
.pause(5)
2425
.exec(registry.openPatientChartPage("#{patient_uuid}"))
26+
.pause(5)
2527
.exec(registry.startVisit("#{patient_uuid}"))
28+
.pause(5)
2629
.exec(registry.openVisitsTab("#{patient_uuid}"))
30+
.pause(2)
2731
.exec(registry.openVitalsAndBiometricsTab("#{patient_uuid}"))
32+
.pause(5)
2833
.exec(registry.openMedicationsTab("#{patient_uuid}"))
34+
.pause(5)
2935
.exec(registry.openOrdersTab("#{patient_uuid}"))
36+
.pause(5)
3037
.exec(registry.openLabResultsTab("#{patient_uuid}"))
38+
.pause(8)
3139
.exec(registry.openAllergiesTab("#{patient_uuid}"))
40+
.pause(5)
3241
.exec(registry.openAllergiesForm())
42+
.pause(5)
3343
.exec(registry.recordAllergy("#{patient_uuid}"))
44+
.pause(10)
3445
.exec(registry.openConditionsTab("#{patient_uuid}"))
46+
.pause(5)
3547
.exec(registry.openImmunizationsTab("#{patient_uuid}"))
48+
.pause(5)
3649
.exec(registry.openAttachmentsTab("#{patient_uuid}"))
50+
.pause(5)
3751
.exec(registry.addDrugOrder("#{patient_uuid}", "#{visitUuid}", "#{currentUserUuid}"))
3852
.pause(5)
3953
.exec(registry.addVisitNote("#{patient_uuid}", "#{currentUserUuid}"))

0 commit comments

Comments
 (0)
Failed to load comments.