From b03b7abf02da6921e11656b211edb99e5bd049ca Mon Sep 17 00:00:00 2001 From: vladislavploaia Date: Mon, 16 Mar 2026 14:49:26 +0200 Subject: [PATCH] feat: add Robot checks for ehr_status --- .../C.3_SET_EHR_MODIFIABLE/C.3__a)_Existing_EHR.robot | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/robot/EHR_STATUS_TESTS/C.3_SET_EHR_MODIFIABLE/C.3__a)_Existing_EHR.robot b/tests/robot/EHR_STATUS_TESTS/C.3_SET_EHR_MODIFIABLE/C.3__a)_Existing_EHR.robot index c49754ea..f482486f 100644 --- a/tests/robot/EHR_STATUS_TESTS/C.3_SET_EHR_MODIFIABLE/C.3__a)_Existing_EHR.robot +++ b/tests/robot/EHR_STATUS_TESTS/C.3_SET_EHR_MODIFIABLE/C.3__a)_Existing_EHR.robot @@ -55,4 +55,14 @@ Set EHR modifiable of an existing EHR update EHR: set ehr-status modifiable ${TRUE} check response of 'update EHR' (JSON) + Set Test Variable ${expected_ehr_status_json} ${response.json()} + + internal get versioned ehr_status of EHR by time without query + Should Be Equal ${response.status_code} ${200} + Set Test Variable ${actual_ehr_status_json} ${response.json()['data']} + + ${diff} compare json-strings + ... ${actual_ehr_status_json} ${expected_ehr_status_json} + ... ignore_order=${FALSE} ignore_string_case=${TRUE} + Should Be Empty ${diff} msg=DIFF DETECTED! [Teardown] (admin) delete ehr