Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

API tests run in GitHub actions whenever a smoke or regression test is executed.

To run API tests against Bahmni LITE manually use command gauge run specs --tags "api" --env dev.lite

Scenarios covered under API tests

Bahmni Lite API tests are tagged as api. All API tests are available here - https://github.com/Bahmni/bahmni-e2e-tests/tree/main/specs/API .

...

List of scenarios covered - API Test Scenarios

Roadmap-

  • As part of API test we have covered Login, registration and one form in Consultation, other forms in consultations, medications, diagnoses, Lab/Radiology Order also to be added in test suite.

  • Other module like Lab Entry, Appointments, patient documents & reports to be included in test suite.

  • The HTML report of API tests are not stored in GitHub actions whenever a UI tests are executed, this needs to be handled. Since the UI is executed after API, only the latest html report(UI) is being stored in GitHub runs. Either we need to add API test as separate job (but this will increase the GitHub runner image setup time) Or we need to handle the report generation directory so that both the html reports for UI & API are uploaded.

...