aboutsummaryrefslogtreecommitdiffstats
path: root/csit/tests
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/tests
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/tests')
-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
0'>170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249