diff options
author | Brian Freeman <bf1936@att.com> | 2019-06-09 09:11:15 -0500 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2019-06-09 09:38:03 -0500 |
commit | 7fa691b9a7fd90201340ce54269f5ffe85b431d8 (patch) | |
tree | 7e9f30b1b5598afb54f12550bb51ee418927787d /robot | |
parent | 48c823343159f61e98580bf5fb89f38cdc47e6f9 (diff) |
Work around for Slower Env1.4.1
Issue-ID: INT-1099
Change-Id: I825072da0718cea4a7cd127594cbd1f79c7880b2
Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot')
-rw-r--r-- | robot/resources/vid/create_vid_vnf.robot | 8 |
1 files 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 |