diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-02-27 18:11:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-02-27 18:11:02 +0000 |
commit | c80f81fe744023ae39182e6752620238450db2b3 (patch) | |
tree | 2165a8842ee96e2ec2446ade31d914a1ec8b794f /test/csit/tests/clamp/UIs/02__Create_TCA_model.robot | |
parent | 04a331618845f3b77308dc2dd47f6a79a52bdc84 (diff) | |
parent | 5b9917d3ad117491b5bd89ee63c4752c4add4a27 (diff) |
Merge "Add more integration tests for clamp APIs UIs"
Diffstat (limited to 'test/csit/tests/clamp/UIs/02__Create_TCA_model.robot')
-rw-r--r-- | test/csit/tests/clamp/UIs/02__Create_TCA_model.robot | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/test/csit/tests/clamp/UIs/02__Create_TCA_model.robot b/test/csit/tests/clamp/UIs/02__Create_TCA_model.robot index e0240721c..caacec36a 100644 --- a/test/csit/tests/clamp/UIs/02__Create_TCA_model.robot +++ b/test/csit/tests/clamp/UIs/02__Create_TCA_model.robot @@ -7,8 +7,8 @@ Library Selenium2Library Library XvfbRobot *** Variables *** -${SELENIUM_SPEED_FAST} 0.2 seconds -${SELENIUM_SPEED_SLOW} 2 seconds +${SELENIUM_SPEED_FAST} .2 seconds +${SELENIUM_SPEED_SLOW} .5 seconds *** Test Cases *** Get Requests health check ok @@ -41,6 +41,30 @@ Create Model from Menu Select From List By Label id=templateName templateTCA1 Click Button locator=Create +Set Properties for TCAModel1 + Wait Until Element Is Visible xpath=//*[@id="navbar"]/ul/li[1]/a timeout=60 + Click Element xpath=//*[@id="navbar"]/ul/li[1]/a + Wait Until Element Is Visible locator=Properties CL timeout=60 + Click Element locator=Properties CL + Select From List By Label id=service vLoadBalancer + Select From List By Label id=vf vLoadBalancer 0 + Select From List By Label id=actionSet eNodeB + Select From List By Label id=location Data Center 1 Data Center 3 + Click Button locator=Save + +Set Policy Box properties for TCAModel1 + Wait Until Element Is Visible xpath=//*[@data-element-id="Policy_12lup3h"] timeout=60 + Click Element xpath=//*[@data-element-id="Policy_12lup3h"] + Click Button locator=New Policy + Input Text locator=//*[@id="pname"] text=Policy2 + Select From List By Label id=recipe Reset + Input Text locator=maxRetries text=6 + Input Text locator=retryTimeLimit text=280 + Input Text locator=timeout text=400 + Click Button locator=Close + +### Cannot set TCA box attributes due to element not interractable with Selenium + Save Model from Menu Wait Until Element Is Visible xpath=//*[@id="navbar"]/ul/li[1]/a timeout=60 Click Element xpath=//*[@id="navbar"]/ul/li[1]/a |