Skip to content

Commit d7eaa86

Browse files
committed
script and template fixes
1 parent be5333d commit d7eaa86

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

execution_scripts/auth_info/auth_info_input_as_hash.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
sessions:
22
- suite: auth_info
3+
# NOTE: input use introduces issue time skew that causes faiures - these are expected
4+
5+
comparison_config:
6+
normalized_strings:
7+
- replacement: <TIMESTAMP>
8+
pattern: /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:?\d{2})/
39

410
steps:
511
- status: created
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"id":"919cc697-bece-4b67-ad3e-53485f09a168","created_at":"2026-03-31T22:23:43.965-04:00","inputs":[{"name":"public_access_auth_info","value":"{\"auth_type\":\"public\",\"token_url\":\"\",\"requested_scopes\":\"launch/patient openid fhirUser patient/*.*\",\"client_id\":\"SAMPLE_PUBLIC_CLIENT_ID\",\"pkce_support\":\"enabled\",\"pkce_code_challenge_method\":\"S256\",\"auth_request_method\":\"GET\",\"access_token\":\"SAMPLE_TOKEN\",\"refresh_token\":\"SAMPLE_REFRESH_TOKEN\",\"issue_time\":\"2026-03-30T23:59:12-04:00\",\"expires_in\":\"3600\",\"name\":\"public_access_auth_info\"}","type":"auth_info"}],"optional":false,"outputs":[],"requests":[],"result":"pass","test_id":"auth_info-auth_info_demo-Group02-public_auth","test_run_id":"17b1e809-e775-4732-8c63-64b04b8d5d10","test_session_id":"gpFunq93UmS","updated_at":"2026-03-31T22:23:43.965-04:00"}]
1+
[{"id":"e15fb167-a697-4f79-bcc4-12cef89c29ee","created_at":"2026-03-31T23:26:30.502-04:00","inputs":[{"name":"public_access_auth_info","value":"{\"auth_type\":\"public\",\"token_url\":\"\",\"requested_scopes\":\"launch/patient openid fhirUser patient/*.*\",\"client_id\":\"SAMPLE_PUBLIC_CLIENT_ID\",\"pkce_support\":\"enabled\",\"pkce_code_challenge_method\":\"S256\",\"auth_request_method\":\"GET\",\"access_token\":\"SAMPLE_TOKEN\",\"refresh_token\":\"SAMPLE_REFRESH_TOKEN\",\"issue_time\":\"2026-03-30T23:59:12-04:00\",\"expires_in\":\"3600\",\"name\":\"public_access_auth_info\"}","type":"auth_info"}],"optional":false,"outputs":[],"requests":[],"result":"fail","result_message":"Expected fhir_client auth info `issue_time` to equal `2026-03-31T23:26:09-04:00`, but received `2026-03-30T23:59:12-04:00`","test_id":"auth_info-auth_info_demo-Group02-public_auth","test_run_id":"b8d041cd-48b8-4d3b-adba-d79320cc8756","test_session_id":"19BvA4oIIvO","updated_at":"2026-03-31T23:26:30.502-04:00"}]
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sessions:
2-
- suite_id: <%= test_suite_id %>
2+
- suite: <%= test_suite_id %>
33

44
steps:
55
- state_description: Session Created
@@ -8,13 +8,13 @@ steps:
88
runnable: suite
99
inputs:
1010
url: https://inferno.healthit.gov/reference-server/r4
11-
credentials: '{"access_token": "SAMPLE_TOKEN"}'
11+
credentials:
12+
access_token: SAMPLE_TOKEN
1213
patient_id: 85
13-
timeout: 60 # account for validator profile loading
1414
action_description: Run the entire suite
1515

1616
- state_description: Suite executed (The second (last) test in the patient (last) group has just finished)
1717
status: done
18-
last_completed: 2.02 # short id for test <%= test_suite_id %>-patient_group-Test02
18+
last_completed: suite
1919
action: END_SCRIPT
2020
action_description: Complete the script

0 commit comments

Comments
 (0)