summaryrefslogtreecommitdiffstats
path: root/robot/resources/vid/create_vid_vnf.robot
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-03-16 12:48:47 -0500
committerBrian Freeman <bf1936@att.com>2019-03-16 12:48:56 -0500
commitdcdc7857c1ebb5ba617afe971a95209ec4225aa9 (patch)
treec1b0a9cf05f1f86815ffd75d212763d3591131cc /robot/resources/vid/create_vid_vnf.robot
parentec56cc3412fe7f75b3037e00600175193670f6b9 (diff)
Match Dublin VID & Fix DEPLOY Wait
CLOUDWOWNER added to lcp_region CSAR has 0 after simple VNFs as well (vnf_index) Need to refresh Browse Service Models Issue-ID: INT-971 Change-Id: I5af6cc4be31d6da5ebd9037d622821dc42f77303 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/vid/create_vid_vnf.robot')
-rw-r--r--robot/resources/vid/create_vid_vnf.robot10
1 files changed, 7 insertions, 3 deletions
diff --git a/robot/resources/vid/create_vid_vnf.robot b/robot/resources/vid/create_vid_vnf.robot
index fe0d3e15..eaca637d 100644
--- a/robot/resources/vid/create_vid_vnf.robot
+++ b/robot/resources/vid/create_vid_vnf.robot
@@ -40,7 +40,9 @@ Create VID VNF
Sleep 10s
Input Text xpath=//input[@parameter-id='instanceName'] ${service_instance_name}
Select From List By Label xpath=//select[@parameter-id='productFamily'] ${product_family}
- Select From List By Label xpath=//select[@parameter-id='lcpRegion'] ${lcp_region}
+ # Fix for Dublin
+ ${cloud_owner_uc}= Convert To Uppercase ${GLOBAL_AAI_CLOUD_OWNER}
+ Select From List By Label xpath=//select[@parameter-id='lcpRegion'] ${lcp_region} (${cloud_owner_uc})
Select From List By Label xpath=//select[@parameter-id='tenant'] ${tenant}
Sleep 5s
Click Element xpath=//multiselect[@parameter-id='lineOfBusiness']
@@ -73,7 +75,8 @@ Delete VID VNF
Wait Until Page Contains Element xpath=//div[@class='statusLine'] timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
Wait Until Element Is Not Visible xpath=//div[@class='statusLine aaiHidden'] timeout=${GLOBAL_VID_UI_TIMEOUT_MEDIUM}
Click On Element When Visible xpath=//li/div[contains(.,'${vnf_instance_id}')]/a/span[@class='glyphicon glyphicon-remove'] timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
- Select From List By Label xpath=//select[@parameter-id='lcpRegion'] ${lcp_region}
+ ${cloud_owner_uc}= Convert To Uppercase ${GLOBAL_AAI_CLOUD_OWNER}
+ Select From List By Label xpath=//select[@parameter-id='lcpRegion'] ${lcp_region} (${cloud_owner_uc})
Select From List By Label xpath=//select[@parameter-id='tenant'] ${tenant}
Click Element xpath=//div[@class='buttonRow']/button[@ngx-enabled='true']
#//*[@id="mContent"]/div/div/div/div/table/tbody/tr/td/div/div[2]/div/div[1]/div[5]/button[1]
@@ -107,7 +110,8 @@ Create VID VNF module
## Wait Until Angular Ready just sleeps for its timeout value
Sleep 10s
Input Text xpath=//input[@parameter-id='instanceName'] ${vf_module_name}
- Select From List By Label xpath=//select[@parameter-id='lcpRegion'] ${lcp_region}
+ ${cloud_owner_uc}= Convert To Uppercase ${GLOBAL_AAI_CLOUD_OWNER}
+ Select From List By Label xpath=//select[@parameter-id='lcpRegion'] ${lcp_region} (${cloud_owner_uc})
Select From List By Label xpath=//select[@parameter-id='tenant'] ${tenant}
Wait Until Element Is Visible xpath=//input[@parameter-id='sdncPreload'] ${GLOBAL_VID_UI_TIMEOUT_SHORT}
Wait Until Element Is Enabled xpath=//input[@parameter-id='sdncPreload'] ${GLOBAL_VID_UI_TIMEOUT_SHORT}