From 7fa691b9a7fd90201340ce54269f5ffe85b431d8 Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Sun, 9 Jun 2019 09:11:15 -0500 Subject: Work around for Slower Env Issue-ID: INT-1099 Change-Id: I825072da0718cea4a7cd127594cbd1f79c7880b2 Signed-off-by: Brian Freeman --- robot/resources/vid/create_vid_vnf.robot | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/robot/resources/vid/create_vid_vnf.robot b/robot/resources/vid/create_vid_vnf.robot index eaca637d..136e1938 100644 --- a/robot/resources/vid/create_vid_vnf.robot +++ b/robot/resources/vid/create_vid_vnf.robot @@ -27,14 +27,16 @@ Create VID VNF Wait Until Page Contains Element link=View/Edit timeout=${GLOBAL_VID_UI_TIMEOUT_MEDIUM} Click Element xpath=//a[contains(text(), 'View/Edit')] Wait Until Page Contains View/Edit Service Instance timeout=${GLOBAL_VID_UI_TIMEOUT_MEDIUM} + # in slower environment the background load of data from AAI takes time so that the button is not populated yet + Sleep 20s Click Element button=Add node instance #01681d02-2304-4c91-ab2d 0 # This is where firefox breaks. Th elink never becomes visible when run with the script. ${dataTestsId}= Catenate AddVNFOption-${vnf_type} + Sleep 10s Click Element xpath=//a[contains(text(), '${vnf_type}')] - Wait Until Page Contains Element xpath=//input[@parameter-id='instanceName'] ${GLOBAL_VID_UI_TIMEOUT_SHORT} - Wait Until Element Is Enabled xpath=//input[@parameter-id='instanceName'] ${GLOBAL_VID_UI_TIMEOUT_SHORT} - + Wait Until Page Contains Element xpath=//input[@parameter-id='instanceName'] ${GLOBAL_VID_UI_TIMEOUT_MEDIUM} + Wait Until Element Is Enabled xpath=//input[@parameter-id='instanceName'] ${GLOBAL_VID_UI_TIMEOUT_MEDIUM} ## Without this sleep, the input text below gets immediately wiped out. ## Wait Until Angular Ready just sleeps for its timeout value Sleep 10s -- cgit 1.2.3-korg