aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/clamp/UIs/01__Create_Holmes_model.robot
diff options
context:
space:
mode:
authorehautot <eh552t@intl.att.com>2018-04-06 19:07:02 +0200
committerehautot <eh552t@intl.att.com>2018-04-06 19:39:58 +0200
commit7e5552d8bd205f76089ca20f4c68c31f9daab0c6 (patch)
tree2bb3580ecdcbbbc5e087bb9b19320af6172bfda9 /test/csit/tests/clamp/UIs/01__Create_Holmes_model.robot
parent44ef19e5676b0e5ea844f8d84fefd89340419025 (diff)
Add more tests to CSIT
Change-Id: I6e53e577fe518f4e0df6135643d9c84ded604712 Signed-off-by: ehautot <eh552t@intl.att.com> Issue-ID: CLAMP-35
Diffstat (limited to 'test/csit/tests/clamp/UIs/01__Create_Holmes_model.robot')
-rw-r--r--test/csit/tests/clamp/UIs/01__Create_Holmes_model.robot8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/csit/tests/clamp/UIs/01__Create_Holmes_model.robot b/test/csit/tests/clamp/UIs/01__Create_Holmes_model.robot
index 02cfecb69..3f87179cb 100644
--- a/test/csit/tests/clamp/UIs/01__Create_Holmes_model.robot
+++ b/test/csit/tests/clamp/UIs/01__Create_Holmes_model.robot
@@ -7,6 +7,8 @@ Library Selenium2Library
Library XvfbRobot
*** Variables ***
+${login} admin
+${passw} password
${SELENIUM_SPEED_FAST} .2 seconds
${SELENIUM_SPEED_SLOW} .5 seconds
@@ -26,8 +28,8 @@ Open Browser
Should Be Equal CLDS ${title}
Good Login to Clamp UI and Verify logged in
- Input Text locator=username text=admin
- Input Text locator=password text=password
+ Input Text locator=username text=${login}
+ Input Text locator=password text=${passw}
Press Key locator=password key=\\13
Wait Until Element Is Visible xpath=//*[@class="navbar-brand logo_name ng-binding"] timeout=60
Element Text Should Be xpath=//*[@class="navbar-brand logo_name ng-binding"] expected=Hello:admin
@@ -84,7 +86,7 @@ Close Browser
Close Browser
Verify Holmes CL well created
- ${auth}= Create List admin password
+ ${auth}= Create List ${login} ${passw}
Create Session clamp http://localhost:8080 auth=${auth}
${resp}= Get Request clamp /restservices/clds/v1/clds/model-names
Should Contain Match ${resp} *HolmesModel1*