Hello there,
I'm noticing a weird behaviour in the testcase pdf report (and the conformance report) where it generates an empty step?
This is my testcase code:
<steps>
<interact id="step1UserData" desc="Step 1 - Provide CapabilityStatement">
<request name="capabilityStatement"
inputType="MULTILINE_TEXT"
size="5"
required="true"
desc="Please supply the EDS Server Capability Statement"/>
</interact>
<group title="MedCom review step 1 asynchronously">
<interact id="medcomReview1" desc="MedCom review" admin="true">
<instruct desc="Please make sure the following requirements are addressed in the user input:"
showControls="false"
level="INFO"/>
<instruct desc="Requirement 1" forceDisplay="true" showControls="false">
"Please check whether the version is at least 8.2. You should be able to find it under 'software.version'"
</instruct>
<instruct desc="Requirement 2" forceDisplay="true" showControls="false">
"Please ensure that updates, patches and deletes to the AuditEvent resources are disallowed. You should be able to find nothing under 'rest.resource.where(type = 'AuditEvent').interaction.where(code = 'update' or code = 'patch' or code = 'delete')'"
</instruct>
<request name="verdict"
desc="Step 1 - Verdict"
inputType="SELECT_SINGLE"
options="F1,F2,F3,F4,OK,Ej Relevant"
required="true"/>
<request name="comment" desc="Step 1 - Comment" inputType="TEXT"/>
</interact>
<assign to="anyF1F2OrF3Results">not($medcomReview1{verdict} = 'F1' or $medcomReview1{verdict} = 'F2' or $medcomReview1{verdict} = 'F3')</assign>
<verify id="medcomErrorCheck1"
handler="ExpressionValidator"
desc="Fail if any F1, F2 or F3 MedCom results"
stopOnError="true"
skipped="$anyF1F2OrF3Results">
<input name="expression">$anyF1F2OrF3Results</input>
<input name="failureMessage" asTemplate="true">"You may find additional information by clicking into the MedCom review step above"</input>
</verify>
<assign to="anyF4Results">not($medcomReview1{verdict} = 'F4')</assign>
<verify id="medcomCheck1"
level="WARNING"
handler="ExpressionValidator"
desc="Warn if any F4 MedCom results"
skipped="$anyF4Results">
<input name="expression">$anyF4Results</input>
<input name="failureMessage" asTemplate="true">"You may find additional information by clicking into the MedCom review step above"</input>
</verify>
</group>
</steps>
And this is how the generated PDF looks like:
OR:
As you can see there is this empty Step 2? Where does that come from and why has it been rendered?
Also, bonus question:
Is it possible somehow to include the instructions in the test case report? It seems it is only the descriptions on the request elements that is included and not the elements inside an element.
Hello there,
I'm noticing a weird behaviour in the testcase pdf report (and the conformance report) where it generates an empty step?
This is my testcase code:
And this is how the generated PDF looks like:
OR:
As you can see there is this empty Step 2? Where does that come from and why has it been rendered?
Also, bonus question:
Is it possible somehow to include the instructions in the test case report? It seems it is only the descriptions on the request elements that is included and not the elements inside an element.