Skip to content

Conversation

@gitcliff
Copy link
Contributor

@gitcliff gitcliff commented Jul 8, 2025

Requirements

  • This PR has a title that briefly describes the work done, including the ticket number if there is a ticket.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

Add automated testing for editing a dispense event in the pharmacy app. This test will ensure that a dispense event can be edited if it was created in error. 

Screenshots

Related Issue

https://openmrs.atlassian.net/browse/O3-4868

Other

@denniskigen denniskigen changed the title (test)03-4868: E2E Add automated testing for editing a dispense event (test) O3-4868: E2E Add automated testing for editing a dispense event Jul 9, 2025
@denniskigen denniskigen changed the title (test) O3-4868: E2E Add automated testing for editing a dispense event (test) O3-4868: Add automated testing for editing a dispense event Jul 9, 2025
@denniskigen denniskigen force-pushed the 03-4868 branch 2 times, most recently from 84f84f4 to 174419d Compare August 1, 2025 19:40
@denniskigen denniskigen changed the title (test) O3-4868: Add automated testing for editing a dispense event (test) O3-4868: Add e2e test for editing a medication dispense event Sep 30, 2025
@denniskigen denniskigen force-pushed the 03-4868 branch 3 times, most recently from 8f2f4c5 to f16c17d Compare September 30, 2025 21:39
Add e2e test for editing a dispense event in the pharmacy app. This test will ensure that a dispense event can be edited if it was created in error.
Replace the fixed 5-second sleep with active polling of the FHIR
encounters API to verify medication requests are queryable before
proceeding. This improves test reliability by ensuring data availability
rather than waiting an arbitrary amount of time.
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