From 4089a3374972aa8cb2264dbf1477ad5e9066a2b1 Mon Sep 17 00:00:00 2001 From: kishore Date: Wed, 18 Oct 2017 17:02:53 -0500 Subject: Updated setup.sh and test1.robot Issue-ID:PORTAL-53 Change-Id: Iaab6441d4d104b652e9cfe00b62f7e11a7cba2c4 Signed-off-by: kishore --- test/csit/tests/portal/testsuites/test1.robot | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'test/csit/tests/portal/testsuites') diff --git a/test/csit/tests/portal/testsuites/test1.robot b/test/csit/tests/portal/testsuites/test1.robot index 42f88bf39..2fdf9d49f 100644 --- a/test/csit/tests/portal/testsuites/test1.robot +++ b/test/csit/tests/portal/testsuites/test1.robot @@ -14,9 +14,8 @@ Resource json_templater.robot *** Variables *** -#${PORTAL_URL} http://localhost:8989 -${PORTAL_URL} http://portal.api.simpledemo.openecomp.org:8989 -${PORTAL_ENV} /ECOMPPORTAL +${PORTAL_URL} http://portal.api.simpledemo.onap.org:8989 +${PORTAL_ENV} /ONAPPORTAL ${PORTAL_LOGIN_URL} ${PORTAL_URL}${PORTAL_ENV}/login.htm ${PORTAL_HOME_PAGE} ${PORTAL_URL}${PORTAL_ENV}/applicationsHome ${PORTAL_MICRO_ENDPOINT} ${PORTAL_URL}${PORTAL_ENV}/commonWidgets @@ -40,7 +39,7 @@ ${Test_LoginID} portal ${Test_Loginpwd} demo123456! ${Test_LoginPwdCheck} demo123456! ${Existing_User} portal -${PORTAL_HEALTH_CHECK_PATH} /ECOMPPORTAL/portalApi/healthCheck +${PORTAL_HEALTH_CHECK_PATH} /ONAPPORTAL/portalApi/healthCheck ${PORTAL_ASSETS_DIRECTORY} ${CURDIR} ${GLOBAL_APPLICATION_ID} robot-functional ${GLOBAL_PORTAL_ADMIN_USER} demo @@ -60,7 +59,7 @@ ${GLOBAL_OPENSTACK_KEYSTONE_SERVICE_TYPE} identity ${GLOBAL_BUILD_NUMBER} 0 ${GLOBAL_VM_PRIVATE_KEY} ${EXECDIR}/robot/assets/keys/robot_ssh_private_key.pvt ${jira} jira -${RESOURCE_PATH} ECOMPPORTAL/auxapi/ticketevent +${RESOURCE_PATH} ONAPPORTAL/auxapi/ticketevent ${portal_Template} ${CURDIR}/portal.template @@ -886,9 +885,13 @@ Application admin Delete Standard User Existing user Application admin Logout from Portal GUI [Documentation] Logout from Portal GUI Click Element xpath=//div[@id='header-user-icon'] + Set Selenium Implicit Wait 3000 Click Button xpath=//button[contains(.,'Log out')] - #Confirm Action - Title Should Be Login + Set Selenium Implicit Wait 3000 + Title Should Be Login + + + Standared user Login To Portal GUI -- cgit 1.2.3-korg