${resp}= Get Request ${clamp_session} /restservices/clds/v1/healthcheck
Should Be Equal As Strings ${resp.status_code} 200
-List TCAs
- ${resp}= Get Request ${clamp_session} /restservices/clds/v2/loop/getAllNames
- Should Contain Match ${resp} *Name1_tca*
- Should Contain Match ${resp} *tca_2*
- Should Contain Match ${resp} *Name1_tca_3*
-
-Open TCA1
- ${resp}= Get Request ${clamp_session} /restservices/clds/v2/loop/LOOP_yHsgu_v1_0_ResourceInstanceName1_tca
- Should Contain Match ${resp} *Name1_tca*
- Should Contain Match ${resp} *Operational Policy Item*
- Should Contain Match ${resp} *Operational policies*
-
-Open TCA2
- ${resp}= Get Request ${clamp_session} /restservices/clds/v2/loop/LOOP_yHsgu_v1_0_ResourceInstanceName2_tca_2
- Should Contain Match ${resp} *Name2_tca_2*
- Should Contain Match ${resp} *Operational Policy Item*
- Should Contain Match ${resp} *1004*
- Should Contain Match ${resp} *TCA Policy Scope*
-
-Open TCA3
- ${resp}= Get Request ${clamp_session} /restservices/clds/v2/loop/LOOP_yHsgu_v1_0_ResourceInstanceName1_tca_3
- Should Contain Match ${resp} *Name1_tca_3*
- Should Contain Match ${resp} *Operational Policy Item*
- Should Contain Match ${resp} *1004*
- Should Contain Match ${resp} *TCA Policy Scope*
+*** Need Work/new tests to integrate new API ***
\ No newline at end of file
Create the sessions
${resp}= Get Request ${clamp_session} /restservices/clds/v1/healthcheck
Should Be Equal As Strings ${resp.status_code} 200
-
-Open Browser
-# Next line is to be enabled for Headless tests only (jenkins?). To see the tests disable the line.
- Start Virtual Display 1920 1080
- Set Selenium Speed ${SELENIUM_SPEED_SLOW}
- Open Browser ${BASE_URL}/index.html browser=firefox
-
-Reply to authentication popup
- Run Keyword And Ignore Error Insert into prompt ${login} ${passw}
- Confirm action
-
-Close Browser
- Close Browser
\ No newline at end of file
${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_yHsgu_v1_0_ResourceInstanceName1_tca
- Should Contain Match ${resp} *Name1_tca*
- Should Contain Match ${resp} *Operational Policy*
+*** Need Work/new tests to integrate new UI ***
\ No newline at end of file