Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

O3-4521 : Add program tab to the visit patient scenario #77

Merged
merged 7 commits into from
Mar 15, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into O3-4521
  • Loading branch information
dilankavishka authored Mar 14, 2025
commit 48c23ac070b7b9bd2c18e185b3e39e30c1dd0668
Original file line number Diff line number Diff line change
@@ -133,9 +133,15 @@ public ChainBuilder openAttachmentsTab(String patientUuid) {
.exec(httpService.getAllowedFileExtensions());
}


public ChainBuilder openProgramsTab(String patientUuid) {
return exec(httpService.getPrograms())
.exec(httpService.getProgramEnrollments(patientUuid));
}

public ChainBuilder addAttachment(String patientUuid){
return exec(httpService.uploadAttachment(patientUuid))
.exec(httpService.getAttachments(patientUuid));
}

public ChainBuilder openVisitsTab(String patientUuid) {
Original file line number Diff line number Diff line change
@@ -51,6 +51,8 @@ public ScenarioBuilder getScenarioBuilder() {
.exec(registry.openAttachmentsTab("#{patient_uuid}"))
.pause(5)
.exec(registry.openProgramsTab("#{patient_uuid}"))
.pause(5)
.exec(registry.addAttachment("#{patient_uuid}"))
.pause(5)
.exec(registry.addDrugOrder("#{patient_uuid}", "#{visitUuid}", "#{currentUserUuid}"))
.pause(5)
You are viewing a condensed version of this merge commit. You can view the full changes here.