diff options
author | Brian Freeman <bf1936@att.com> | 2019-06-09 09:11:15 -0500 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2019-06-09 14:43:02 +0000 |
commit | a9ea82a7a509d66b6b85b606b64afc6461919f51 (patch) | |
tree | 39baad7cf261432c428a23981469a0fce1e9d6e0 | |
parent | 59b54c853095283b1bdd83940f7df21f48f57e31 (diff) |
Work around for Slower Env
Issue-ID: INT-1099
Change-Id: I825072da0718cea4a7cd127594cbd1f79c7880b2
Signed-off-by: Brian Freeman <bf1936@att.com>
-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 07de71dd..3a484b63 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 |