Skip to content

Commit

Permalink
add query building tests (#263)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Katie Campbell Downie <[email protected]>
  • Loading branch information
3 people authored Jan 27, 2025
1 parent d3f6cbc commit ca0d354
Show file tree
Hide file tree
Showing 22 changed files with 1,280 additions and 141 deletions.
4 changes: 2 additions & 2 deletions query-connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ If the above doesn't work, try replacing `localhost` with `0.0.0.0`.

#### Running the e2e tests locally

Our e2e's are available locally via `npm run test:playright:local`. You'll need to have the app running locally at `localhost:3000` first (ie using `npm run dev`).
Our e2e's are available locally via `npm run test:playright:local`. You'll need to have the app running locally at `localhost:3000` first (ie using `npm run dev` or running `npm run dev:db` and `npm run dev:next` in two separate terminals).

You'll need to set `E2E_LOCAL_FHIR_SERVER` in your local `.env` file first in order for the flows that use the local HAPI server to route correctly. This is pre-set for you in the `.env.sample` file.
For flows that do queries to a FHIR server (ie `/query`), you'll need to use a DB utility to change the address of the local E2E server to whatever localhost port your dev HAPI server is living at. If you have questions, reach out to another eng on the team.

### Architecture Diagram

Expand Down
Loading

0 comments on commit ca0d354

Please sign in to comment.