diff options
author | mrichomme <morgan.richomme@orange.com> | 2020-03-09 11:23:35 +0100 |
---|---|---|
committer | mrichomme <morgan.richomme@orange.com> | 2020-04-05 11:05:58 +0200 |
commit | 3256fa2ce9d99ae4b94ab202f5c36339e0159cc8 (patch) | |
tree | c1285a287708e03ba3e279b78db88198dea3ab26 /robot/resources/vid | |
parent | 021a5ae19631c3e8e641c497ebd2783538d29c3e (diff) |
Remove trailing spaces in robot scripts
warning raised when using robotframework-linter
Issue-ID: INT-1478
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I8eb97ef9e3651c0d8f9de6647ebc917d1addf9d0
Signed-off-by: mrichomme <morgan.richomme@orange.com>
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} |