inferno-framework / bulk-data-test-kit

Inferno Test Kit for servers implementing the Bulk Data Access Implementation Guide
Apache License 2.0
0 stars 0 forks source link

FI-2249 Migrate Bulk Data 2 #3

Closed emichaud998 closed 8 months ago

emichaud998 commented 9 months ago

Summary

This PR continues the migration of the bulk data functionality from g10 tests to the new bulk data test kit. This PR adds the remaining bulk data tests in the g10 test kit, including:

The bulk export validation tests needed to be updated to no longer validate against any IGs, and instead to simply validate that each resource returned from the bulk export is a valid FHIR resource.

Testing Guidance

Added spec tests from the g10 test kit for the bulk data tests, which can be run using bundle exec rspec to make sure everything there passes. Can also run the test kit locally with the Inferno Server Preset and make sure that every test has the correct expected result.

yunwwang commented 8 months ago

Running test usign preset configuration returns

"Bearer token is invalid or not supplied Supplied Bearer Token"

emichaud998 commented 8 months ago

Running test usign preset configuration returns

"Bearer token is invalid or not supplied Supplied Bearer Token"

Yes, it looks like the bearer token for the Inferno Reference server eventually times out, so I will remove the bearer token param from the preset since this is not something that can be included since it will always need to be updated once the token expires. This means when running the test with the preset, the user will need to add a bearer token in themselves

yunwwang commented 8 months ago

Some small UI issues

  1. The summary has single patient registration infor which should be rmeoved image

  2. When test runs, groups in the right panel should expand and show the running result. This is what the Bulk Data test kit shows image

This is what the g10 test kit shows image

emichaud998 commented 8 months ago

Some small UI issues

  1. The summary has single patient registration infor which should be rmeoved image
  2. When test runs, groups in the right panel should expand and show the running result. This is what the Bulk Data test kit shows image

This is what the g10 test kit shows image

  1. Fixed the summary to remove single patient registration information
  2. Updated test it to follow the format of the test kit that I created in the next PR for the Patient export test ticket. Created a test group that references all the group export tests (which have been moved to a Group folder to match the format in the Patient export PR), and run the test group as a group to match the UI in g10 test kit