diff options
author | CHINTAMANI <sireesh.ch@in.ibm.com> | 2018-05-01 07:33:05 -0400 |
---|---|---|
committer | CHINTAMANI <sireesh.ch@in.ibm.com> | 2018-05-01 07:33:05 -0400 |
commit | 3f00f5b46bf490cb087544315c8b146b1e0593e8 (patch) | |
tree | cb89115acbee31e96a38cf1df2b3f05bb40d1d31 | |
parent | 94a310eddc8fd92bceab49f32398b667804c45e2 (diff) |
Updating CSIT test cases V1
Change-Id: Ic8a3700442cb972fe201f0272629dc494c1a2907
Issue-ID: PORTAL-173
Signed-off-by: Sireesh <sireesh.ch@in.ibm.com>
-rw-r--r-- | test/csit/tests/portal/testsuites/test1.robot | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/test/csit/tests/portal/testsuites/test1.robot b/test/csit/tests/portal/testsuites/test1.robot index b2728f06f..0b61807b2 100644 --- a/test/csit/tests/portal/testsuites/test1.robot +++ b/test/csit/tests/portal/testsuites/test1.robot @@ -40,6 +40,7 @@ ${Test_Loginpwd} demo123456! ${Test_LoginPwdCheck} demo123456! ${Existing_User} portal ${PORTAL_HEALTH_CHECK_PATH} /ONAPPORTAL/portalApi/healthCheck +${PORTAL_XDEMPAPP_REST_URL} http://portal-sdk:8080/ONAPPORTALSDK/api/v2 ${PORTAL_ASSETS_DIRECTORY} ${CURDIR} ${GLOBAL_APPLICATION_ID} robot-functional ${GLOBAL_PORTAL_ADMIN_USER} demo @@ -52,7 +53,7 @@ ${GLOBAL_SELENIUM_BROWSER} chrome ${GLOBAL_SELENIUM_BROWSER_CAPABILITIES} Create Dictionary ${GLOBAL_SELENIUM_DELAY} 0 ${GLOBAL_SELENIUM_BROWSER_IMPLICIT_WAIT} 5 -${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} 15 +${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} 45 ${GLOBAL_OPENSTACK_HEAT_SERVICE_TYPE} orchestration ${GLOBAL_OPENSTACK_CINDER_SERVICE_TYPE} volume ${GLOBAL_OPENSTACK_NOVA_SERVICE_TYPE} compute @@ -81,6 +82,10 @@ Login into Portal URL # [Documentation] ONAP Portal R1 functionality test # Notification on ONAP Portal # Portal Application Account Management validation + +Portal Change REST URL Of X-DemoApp + [Documentation] Portal Change REST URL Of X-DemoApp + Portal Change REST URL Portal R1 Release for AAF [Documentation] ONAP Portal R1 functionality for AAF test @@ -104,11 +109,11 @@ Create Widget for Application Roles #Delete Widget for Application Roles #Portal Admin Delete Widget for Application Roles -#EP Admin widget download - #Admin widget download +##EP Admin widget download + ##Admin widget download -#EP Admin widget layout reset - #Reset widget layout option +EP Admin widget layout reset + Reset widget layout option Validate Functional Top Menu Get Access Functional Top Menu Get Access @@ -513,8 +518,8 @@ Portal admin Add Standard User Existing user Click Button xpath=//button[@id='next-button'] # Click Element xpath=//*[@id='div-app-name-dropdown-Default'] # Click Element xpath=//*[@id='div-app-name-Default']/following::input[@id='Standard-User-checkbox'] - Click Element xpath=//div[@id='div-app-name-dropdown-xDemo-App'] - Click Element xpath=//div[@id='div-app-name-xDemo-App']/following::input[@id='Standard-User-checkbox'] + Click Element xpath=//div[@id='app-select-Select roles1'] + Click Element xpath=//div[@id='app-select-Select roles1']/following::input[@id='Standard-User-checkbox'] Set Selenium Implicit Wait 3000 Click Button xpath=//button[@id='new-user-save-button'] Set Selenium Implicit Wait 3000 @@ -1118,6 +1123,13 @@ Portal AAF new fields Page Should Contain Name Space Page Should Contain Centralized Click Element xpath=//button[@id='button-notification-cancel'] + +Portal Change REST URL + [Documentation] Naviage to user Application details tab + Click Link xpath=//a[@title='Application Onboarding'] + Click Element xpath=//td[contains(.,'xDemo App')] + Input Text xpath=//input[@name='restUrl'] ${PORTAL_XDEMPAPP_REST_URL} + Click Element xpath=//button[@id='button-save-app'] Admin widget download Go To ${PORTAL_HOME_URL} |