summaryrefslogtreecommitdiffstats
path: root/robot/resources/portal-sdk
diff options
context:
space:
mode:
authorCHINTAMANI <sireesh.ch@in.ibm.com>2018-10-02 16:13:38 -0400
committerCHINTAMANI <sireesh.ch@in.ibm.com>2018-10-02 16:13:38 -0400
commita31243463c77f5cae6350ccf625b2f5cb9ca8855 (patch)
treeb86b834a4dd245609fd91233a3549d18dfe972aa /robot/resources/portal-sdk
parent98ca5468418735b6065a5419fea09ce4031e0d94 (diff)
Portal testcase setup fix
Change-Id: I3e829c01417dcd3c587e8dc2d597160bcb1bc6f7 Issue-ID: PORTAL-272 Signed-off-by: Sireesh <sireesh.ch@in.ibm.com>
Diffstat (limited to 'robot/resources/portal-sdk')
-rw-r--r--robot/resources/portal-sdk/portalDef.robot6
1 files changed, 4 insertions, 2 deletions
diff --git a/robot/resources/portal-sdk/portalDef.robot b/robot/resources/portal-sdk/portalDef.robot
index cf553e4c..22ff12a6 100644
--- a/robot/resources/portal-sdk/portalDef.robot
+++ b/robot/resources/portal-sdk/portalDef.robot
@@ -42,7 +42,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} 45
+${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} 120
${GLOBAL_OPENSTACK_HEAT_SERVICE_TYPE} orchestration
${GLOBAL_OPENSTACK_CINDER_SERVICE_TYPE} volume
${GLOBAL_OPENSTACK_NOVA_SERVICE_TYPE} compute
@@ -77,6 +77,7 @@ Portal admin Login To Portal GUI
Input Text xpath=//input[@ng-model='loginId'] ${GLOBAL_PORTAL_ADMIN_USER}
Input Password xpath=//input[@ng-model='password'] ${GLOBAL_PORTAL_ADMIN_PWD}
Click Link xpath=//a[@id='loginBtn']
+ Go To ${PORTAL_HOME_URL}
Wait Until Page Contains Element xpath=//img[@alt='Onap Logo'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
#Execute Javascript document.getElementById('w-ecomp-footer').style.display = 'none'
Log Logged in to ${PORTAL_URL}${PORTAL_ENV}
@@ -85,7 +86,6 @@ Portal admin Go To Portal HOME
[Documentation] Naviage to Portal Home
Go To ${PORTAL_HOME_URL}
Wait Until Page Contains Element xpath=//div[@class='applicationWindow'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
-
Portal admin User Notifications
[Documentation] Naviage to User notification tab
Click Link xpath=//a[@id='parent-item-User-Notifications']
@@ -655,6 +655,7 @@ Application admin Login To Portal GUI
Input Text xpath=//input[@ng-model='loginId'] ${App_LoginID}
Input Password xpath=//input[@ng-model='password'] ${GLOBAL_PORTAL_ADMIN_PWD}
Click Link xpath=//a[@id='loginBtn']
+ Go To ${PORTAL_HOME_URL}
Wait Until Page Contains Element xpath=//img[@alt='Onap Logo'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
Log Logged in to ${PORTAL_URL}${PORTAL_ENV}
@@ -764,6 +765,7 @@ Standared user Login To Portal GUI
Input Text xpath=//input[@ng-model='loginId'] ${Sta_LoginID}
Input Password xpath=//input[@ng-model='password'] ${GLOBAL_PORTAL_ADMIN_PWD}
Click Link xpath=//a[@id='loginBtn']
+ Go To ${PORTAL_HOME_URL}
Wait Until Page Contains Element xpath=//img[@alt='Onap Logo'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
Log Logged in to ${PORTAL_URL}${PORTAL_ENV}