diff options
Diffstat (limited to 'robot/resources/vid')
-rw-r--r-- | robot/resources/vid/create_vid_vnf.robot | 6 | ||||
-rw-r--r-- | robot/resources/vid/teardown_vid.robot | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/robot/resources/vid/create_vid_vnf.robot b/robot/resources/vid/create_vid_vnf.robot index a0088b0d..f945db4a 100644 --- a/robot/resources/vid/create_vid_vnf.robot +++ b/robot/resources/vid/create_vid_vnf.robot @@ -58,7 +58,7 @@ Create VID VNF Should Not Contain ${response text} FAILED Click On Button When Enabled //button[contains(text(),'Close')] ${instance_id}= Parse Instance Id ${response text} - # sometimes the page refreshes - a reload is required on timeout but next step for VF Module does that + # sometimes the page refreshes - a reload is required on timeout but next step for VF Module does that Run Keyword And Ignore Error Wait Until Page Contains ${service_instance_name} ${GLOBAL_VID_UI_TIMEOUT_LONG} [Return] ${instance_id} @@ -170,8 +170,8 @@ Fill Module Form And Submit Wait For Add VF Module [Documentation] Retry by refresh if the ADD VF-Module is not visible - Wait Until Page Contains View/Edit Service Instance timeout=${GLOBAL_VID_UI_TIMEOUT_MEDIUM} - + Wait Until Page Contains View/Edit Service Instance timeout=${GLOBAL_VID_UI_TIMEOUT_MEDIUM} + ${status} ${value} Run Keyword And Ignore Error Wait Until Element Is Visible //button[contains(text(),'Add VF-Module')] timeout=${GLOBAL_VID_UI_TIMEOUT_SHORT} Return From Keyword If '${status}' == 'PASS' Reload Page diff --git a/robot/resources/vid/teardown_vid.robot b/robot/resources/vid/teardown_vid.robot index d5f7fb5a..bf2af6f4 100644 --- a/robot/resources/vid/teardown_vid.robot +++ b/robot/resources/vid/teardown_vid.robot @@ -38,7 +38,7 @@ Delete VID # After tearing down a VF module, execute the reverse HB for it to remove the references from A&AI Run Keyword If 'Vfmodule_Ete' in '${vfmodule}' Execute Reverse Heatbridge ${uris_to_delete} Fail Continue with Next Remove - + Delete Next VID Entity [Documentation] Teardown the next VID entity that has a Remove icon. [Arguments] ${service_instance_id} ${lcp_region} ${tenant} ${remove_order} ${customer} @@ -89,6 +89,6 @@ Handle VID Alert [Documentation] When service instance has been deleted, an alert will be triggered on the search to end the loop ... The various Alert keywords did not prevent the alert exception on the Click ELement, hence this roundabout way of handling the alert Run Keyword And Ignore Error Click On Button When Enabled //button[contains(text(),'Submit')] - ${status} ${t}= Run Keyword And Ignore Error Handle Alert + ${status} ${t}= Run Keyword And Ignore Error Handle Alert Return From Keyword If '${status}' == 'FAIL' Fail ${t} |