summaryrefslogtreecommitdiffstats
path: root/robot/resources/vid/create_service_instance.robot
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-03-18 16:55:14 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-18 16:55:14 +0000
commit2c0558d9c185638a071666e459bab50dd010f0ed (patch)
tree1b16e7869210e7d05072ba580cb63a7cd8b682c5 /robot/resources/vid/create_service_instance.robot
parent9204b9622322634a520fc2fbee81f503ce304589 (diff)
parentdcdc7857c1ebb5ba617afe971a95209ec4225aa9 (diff)
Merge "Match Dublin VID & Fix DEPLOY Wait"
Diffstat (limited to 'robot/resources/vid/create_service_instance.robot')
-rw-r--r--robot/resources/vid/create_service_instance.robot6
1 files changed, 4 insertions, 2 deletions
diff --git a/robot/resources/vid/create_service_instance.robot b/robot/resources/vid/create_service_instance.robot
index 76597260..719b85d6 100644
--- a/robot/resources/vid/create_service_instance.robot
+++ b/robot/resources/vid/create_service_instance.robot
@@ -15,8 +15,7 @@ Resource vid_interface.robot
Create VID Service Instance
[Documentation] Creates a service instance using VID
[Arguments] ${customer_name} ${service_model_type} ${service_type} ${service_name} ${project_name} ${owning_entity}
- Go To VID Browse Service Models
- Wait Until Keyword Succeeds 180s 5s Wait For Model ${service_model_type}
+ Wait Until Keyword Succeeds 180s 15s Wait For Model ${service_model_type}
Press Key xpath=//tr[td/span/text() = '${service_model_type}']/td/button[text() = 'Deploy' and not(@disabled)] \\13
${uuid}= Generate UUID
Wait Until Page Contains Element xpath=//input[@parameter-name='Instance Name'] ${GLOBAL_VID_UI_TIMEOUT_LONG}
@@ -44,6 +43,9 @@ Create VID Service Instance
Wait For Model
[Documentation] Distributed model may not yet be available. Kepp trying until it shows up.
[Arguments] ${service_model_type}
+ # Need to refresh browser json data Home -> Browse Service Models cycle does that
+ Go To VID Home
+ Go To VID Browse Service Models
Page Should Contain Element xpath=//div/h1[text() = 'Browse SDC Service Models']
Wait Until Page Contains Element xpath=//button[text() = 'Deploy'] ${GLOBAL_VID_UI_TIMEOUT_MEDIUM}
Input Text When Enabled //input[@ng-model='searchString'] ${service_model_type}