diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-07-09 07:19:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-07-09 07:19:48 +0000 |
commit | 5a49398fdb8b70227540c721581ba68235bcb916 (patch) | |
tree | 10ce0045d43352c0ee3387087e4215a58ccef2d5 /test/csit/tests/clamp/UIs/05__Submit_deploy_chain_TCA.robot | |
parent | 60be36dd12980b15db0edbb7d14c7a719596d367 (diff) | |
parent | bc1d800f3ddce555de9c17518ef7e74126fb028f (diff) |
Merge "Fix https issue + create session globally"
Diffstat (limited to 'test/csit/tests/clamp/UIs/05__Submit_deploy_chain_TCA.robot')
-rw-r--r-- | test/csit/tests/clamp/UIs/05__Submit_deploy_chain_TCA.robot | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/csit/tests/clamp/UIs/05__Submit_deploy_chain_TCA.robot b/test/csit/tests/clamp/UIs/05__Submit_deploy_chain_TCA.robot index db72f3bbd..6330ead92 100644 --- a/test/csit/tests/clamp/UIs/05__Submit_deploy_chain_TCA.robot +++ b/test/csit/tests/clamp/UIs/05__Submit_deploy_chain_TCA.robot @@ -11,26 +11,23 @@ ${login} admin ${passw} password ${SELENIUM_SPEED_FAST} .2 seconds ${SELENIUM_SPEED_SLOW} .5 seconds +${BASE_URL} https://localhost:8443 *** Test Cases *** Get Requests health check ok - CreateSession clamp http://localhost:8080 - ${resp}= Get Request clamp /restservices/clds/v1/clds/healthcheck + ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/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 - Open Browser http://localhost:8080/designer/index.html browser=firefox + Open Browser ${BASE_URL}/designer/index.html browser=firefox Set Selenium Speed ${SELENIUM_SPEED_SLOW} Set Window Size 1920 1080 ${title}= Get Title Should Be Equal CLDS ${title} Good Login to Clamp UI and Verify logged in - 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 |