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

E2E tests for medication and lab order workflows. #11

Merged
merged 2 commits into from
Aug 21, 2024
Merged

E2E tests for medication and lab order workflows. #11

merged 2 commits into from
Aug 21, 2024

Conversation

kdaud
Copy link
Contributor

@kdaud kdaud commented Aug 16, 2024

Ticket: https://mekomsolutions.atlassian.net/browse/C2C-341
Description: This PR adds E2E tests for medications and lab order workflows.

The medication test covers the following scenarios:

  • Creating test patient and starting a visit
  • Navigating to the Clinical workspace
  • Launching the "Medications" form
  • Recording a drug order
  • Revising a drug order
  • Discontinuing a drug order

The lab order covers the following scenarios:

  • Creating test patient and starting a visit
  • Navigating to the Clinical workspace
  • Launching the "Orders" form
  • Recording lab tests
  • Revising lab tests
  • Discontinuing lab tests

@kdaud kdaud force-pushed the C2C-341b branch 2 times, most recently from fdc539d to 6c2e68d Compare August 16, 2024 12:20
@kdaud kdaud marked this pull request as ready for review August 16, 2024 12:47
@kdaud kdaud changed the title E2E test for recording, editing and discontinuing a drug order E2E test for medications and lab orders. Aug 16, 2024
@kdaud kdaud requested a review from Ruhanga August 16, 2024 12:57
@kdaud kdaud changed the title E2E test for medications and lab orders. E2E test for medication and lab order. Aug 16, 2024
@kdaud kdaud changed the title E2E test for medication and lab order. E2E test for medication and lab order workflows. Aug 16, 2024
Copy link
Member

@Ruhanga Ruhanga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good. There are a few suggestions to to apply so all looks good.

e2e/tests/medications.spec.ts Outdated Show resolved Hide resolved
e2e/tests/medications.spec.ts Outdated Show resolved Hide resolved
e2e/tests/medications.spec.ts Show resolved Hide resolved
e2e/tests/medications.spec.ts Show resolved Hide resolved
e2e/tests/lab-orders.spec.ts Outdated Show resolved Hide resolved
e2e/tests/lab-orders.spec.ts Show resolved Hide resolved
@kdaud kdaud force-pushed the C2C-341b branch 13 times, most recently from b912b01 to 7fd7224 Compare August 21, 2024 05:35
Copy link
Member

@Ruhanga Ruhanga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kdaud kdaud changed the title E2E test for medication and lab order workflows. E2E tests for medication and lab order workflows. Aug 21, 2024
@kdaud kdaud merged commit 2927dad into master Aug 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants