aboutsummaryrefslogtreecommitdiffstats
path: root/tests/clamp/UIs/02__Verify_Modification_In_UI.robot
diff options
context:
space:
mode:
Diffstat (limited to 'tests/clamp/UIs/02__Verify_Modification_In_UI.robot')
-rw-r--r--tests/clamp/UIs/02__Verify_Modification_In_UI.robot28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/clamp/UIs/02__Verify_Modification_In_UI.robot b/tests/clamp/UIs/02__Verify_Modification_In_UI.robot
new file mode 100644
index 00000000..979547c6
--- /dev/null
+++ b/tests/clamp/UIs/02__Verify_Modification_In_UI.robot
@@ -0,0 +1,28 @@
+*** Settings ***
+Library Collections
+Library RequestsLibrary
+Library OperatingSystem
+Library json
+
+*** Variables ***
+${login} admin
+${passw} password
+
+*** Keywords ***
+Create the sessions
+ ${auth}= Create List ${login} ${passw}
+ Create Session clamp https://localhost:8443 auth=${auth} disable_warnings=1
+ Set Global Variable ${clamp_session} clamp
+
+*** Test Cases ***
+Get Requests health check ok
+ Create the sessions
+ ${resp}= Get Request ${clamp_session} /restservices/clds/v1/healthcheck
+ Should Be Equal As Strings ${resp.status_code} 200
+
+Open TCA1
+ ${resp}= Get Request ${clamp_session} /restservices/clds/v2/loop/LOOP_iYTIP_v1_0_ResourceInstanceName1_tca
+ Should Contain Match ${resp} *LOOP_iYTIP_v1_0_ResourceInstanceName1_tca*
+ Should Contain Match ${resp} *Event1*
+ Should Contain Match ${resp} *1.2.3*
+ Should Contain Match ${resp} *PolicyScope1*