Skip to content

Commit

Permalink
chore (#123): openmrs mediator e2e test (#128)
Browse files Browse the repository at this point in the history
Co-authored-by: Maria Lorena Rodriguez Viruel <[email protected]>
Co-authored-by: Maria Lorena Rodriguez Viruel <[email protected]>
Co-authored-by: Tom Wier <[email protected]>
  • Loading branch information
4 people authored Oct 4, 2024
1 parent c1cc023 commit f325edd
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 181 deletions.
8 changes: 7 additions & 1 deletion mediator/test/e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ export FHIR_USERNAME='interop-client'
export FHIR_PASSWORD='interop-password'
export CHT_USERNAME='admin'
export CHT_PASSWORD='password'
npm test ltfu-flow.spec.ts
export OPENMRS_URL='http://openhim-core:5001/openmrs'
export OPENMRS_USERNAME='interop-client'
export OPENMRS_PASSWORD='interop-password'
npm run test -t workflows.spec.ts

# Cleanup
unset NODE_ENV
Expand All @@ -43,6 +46,9 @@ unset FHIR_USERNAME
unset FHIR_PASSWORD
unset CHT_USERNAME
unset CHT_PASSWORD
unset OPENMRS_URL
unset OPENMRS_USERNAME
unset OPENMRS_PASSWORD
cd $BASEDIR
./startup.sh destroy

180 changes: 0 additions & 180 deletions mediator/test/ltfu-flow.spec.ts

This file was deleted.

Loading

0 comments on commit f325edd

Please sign in to comment.