summaryrefslogtreecommitdiffstats
path: root/csit
diff options
context:
space:
mode:
authorhalil.cakal <halil.cakal@est.tech>2023-12-05 17:09:42 +0000
committerhalil.cakal <halil.cakal@est.tech>2023-12-11 12:28:47 +0000
commit6dae13128eafb5af753d1a9fa1689816e906150b (patch)
tree3590f47ec51738aa10341e8479236c5a7fc6d9fa /csit
parent93f2c3ff203d78d8cddae7878d16fe2f55661655 (diff)
Uplift Guava dependency
- upgrade Guava to the latest version to fix critial vulnerability Issue-ID: CPS-1987 Change-Id: I6ea314407133dea229e9626fdf2d9c938f7c7e08 Signed-off-by: halil.cakal <halil.cakal@est.tech>
Diffstat (limited to 'csit')
-rw-r--r--csit/tests/cps-data/cps-data.robot7
1 files changed, 6 insertions, 1 deletions
diff --git a/csit/tests/cps-data/cps-data.robot b/csit/tests/cps-data/cps-data.robot
index ce2033c116..bcab3a679b 100644
--- a/csit/tests/cps-data/cps-data.robot
+++ b/csit/tests/cps-data/cps-data.robot
@@ -57,7 +57,12 @@ Get Updated Data Node by XPath
${response}= Get On Session CPS_URL ${uri} params=${params} headers=${headers} expected_status=200
${responseJson}= Set Variable ${response.json()['tree:nest']}
Should Be Equal As Strings ${responseJson['name']} Bigger
- Should Be Equal As Strings ${responseJson['birds']} ['Falcon', 'Eagle', 'Pigeon']
+ ${length_birds}= Get Length ${responseJson['birds']}
+ Should Be Equal As Integers ${length_birds} 3
+ ${expected_list}= Create List Pigeon Falcon Eagle
+ FOR ${item_to_check} IN @{expected_list}
+ Should Contain ${responseJson['birds']} ${item_to_check}
+ END
Get Data Node by XPath
${uri}= Set Variable ${basePath}/v1/dataspaces/${dataspaceName}/anchors/${anchorName}/node