diff options
author | eh552t <eh552t@intl.att.com> | 2018-07-30 12:48:48 +0200 |
---|---|---|
committer | eh552t <eh552t@intl.att.com> | 2018-07-31 15:38:37 +0200 |
commit | 7edf080cc2a6f42be378864147157ec06a7ba050 (patch) | |
tree | 7047138d53b2bc8f5a63a5bee3cfcf4a96d21803 /test/csit/tests/clamp/UIs/04__Submit_deploy_chain_Holmes.robot | |
parent | 0b8db8f3fb19c3e41a901e76c930e7f2008239f4 (diff) |
Fix CSIT tests for auth login and api changes
Change-Id: I73146fd6ad81f8826014ef03ad3e5196b0ef952c
Signed-off-by: eh552t <eh552t@intl.att.com>
Issue-ID: CLAMP-129
Diffstat (limited to 'test/csit/tests/clamp/UIs/04__Submit_deploy_chain_Holmes.robot')
-rw-r--r-- | test/csit/tests/clamp/UIs/04__Submit_deploy_chain_Holmes.robot | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/test/csit/tests/clamp/UIs/04__Submit_deploy_chain_Holmes.robot b/test/csit/tests/clamp/UIs/04__Submit_deploy_chain_Holmes.robot index a6ccb9947..de10a27c5 100644 --- a/test/csit/tests/clamp/UIs/04__Submit_deploy_chain_Holmes.robot +++ b/test/csit/tests/clamp/UIs/04__Submit_deploy_chain_Holmes.robot @@ -3,7 +3,7 @@ Library Collections Library RequestsLibrary Library OperatingSystem Library json -Library Selenium2Library +Library ../../../scripts/clamp/python-lib/CustomSeleniumLibrary.py Library XvfbRobot *** Variables *** @@ -15,19 +15,23 @@ ${BASE_URL} https://localhost:8443 *** Test Cases *** Get Requests health check ok - ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/healthcheck + ${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 - Open Browser ${BASE_URL}/designer/index.html browser=firefox Set Selenium Speed ${SELENIUM_SPEED_SLOW} + Open Browser ${BASE_URL}/designer/index.html browser=firefox + +Reply to authentication popup + Run Keyword And Ignore Error Insert into prompt ${login} ${passw} + Confirm action + +Good Login to Clamp UI and Verify logged in Set Window Size 1920 1080 ${title}= Get Title Should Be Equal CLDS ${title} - -Good Login to Clamp UI and Verify logged in 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 |