summaryrefslogtreecommitdiffstats
path: root/cmso-robot/robot/resources/misc.robot
diff options
context:
space:
mode:
Diffstat (limited to 'cmso-robot/robot/resources/misc.robot')
-rw-r--r--cmso-robot/robot/resources/misc.robot5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmso-robot/robot/resources/misc.robot b/cmso-robot/robot/resources/misc.robot
index d782400..0dd15e9 100644
--- a/cmso-robot/robot/resources/misc.robot
+++ b/cmso-robot/robot/resources/misc.robot
@@ -22,9 +22,12 @@ Validate Status
Validate JSON Error
[Documentation] Fails if messageIds do not match. expected_errors should be a list but a string would likely work as well
- [Arguments] ${resp_json} ${expected_errors}
+ [Arguments] ${resp_json} ${expected_errors} ${listVars}
${result}= Get From Dictionary ${resp_json['requestError']} messageId
+ ${variables}= Get From Dictionary ${resp_json['requestError']} variables
Should Contain ${expected_errors} ${result} #checks expected_errors list for the actual error received from schedule
+ :for ${var} IN @{listVars}
+ \ Should Contain ${variables} ${var}
Check ATTIDs Template
[Documentation] This just checks a list of uuids