Refactor Rollback test in the reverse order 99/142399/1
authorFrancescoFioraEst <francesco.fiora@est.tech>
Thu, 6 Nov 2025 13:54:15 +0000 (13:54 +0000)
committerFrancesco Fiora <francesco.fiora@est.tech>
Fri, 7 Nov 2025 10:39:53 +0000 (10:39 +0000)
Issue-ID: POLICY-5474
Change-Id: I363c6f4b21fafa7ccca9beec36ebfc8fe33e5633
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
csit/resources/tests/clamp-common.robot

index 9a23740..3c1f9b2 100644 (file)
@@ -126,11 +126,11 @@ VerifyRollbackElementsRuntime
     Should Not Match Regexp  ${respstring}  Sim_NewAutomationCompositionElement
     Should Match Regexp  ${respstring}  Sim_SinkAutomationCompositionElement
     ${respstring}   Convert To String   ${resp.json()['elements']['709c62b3-8918-41b9-a747-d21eb79c6c34']['outProperties']['rollbackStage']}
-    Should Be Equal As Strings  ${respstring}  [1, 2]
+    Should Be Equal As Strings  ${respstring}  [2, 1]
     ${respstring}   Convert To String   ${resp.json()['elements']['709c62b3-8918-41b9-a747-d21eb79c6c35']['outProperties']['rollbackStage']}
-    Should Be Equal As Strings  ${respstring}  [0, 1]
+    Should Be Equal As Strings  ${respstring}  [1, 0]
     ${respstring}   Convert To String   ${resp.json()['elements']['709c62b3-8918-41b9-a747-d21eb79c6c36']['outProperties']['rollbackStage']}
-    Should Be Equal As Strings  ${respstring}  [0, 2]
+    Should Be Equal As Strings  ${respstring}  [2, 0]
 
 VerifyMigratedElementsSim
     [Arguments]  ${theInstanceId}