aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/vid/create_service_instance.robot
diff options
context:
space:
mode:
authorJerry Flood <jf9860@att.com>2017-11-21 16:21:21 -0500
committerJerry Flood <jf9860@att.com>2017-11-21 16:21:52 -0500
commit81d33fb58ca4b7f6dc58fde0324df7fd6ca5bc61 (patch)
tree874d7e4c4c19ca27d9cef88e07336d5c98641c33 /robot/resources/vid/create_service_instance.robot
parent1d6cf1f62902b8a897604ae4df84d25b194cf803 (diff)
Update VID and SDNC preload for amsterdam
Issue: TEST-54 Change-Id: Iaa0d952d78f11cf1d271dce7de21bca2ff7cd419 Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'robot/resources/vid/create_service_instance.robot')
-rw-r--r--robot/resources/vid/create_service_instance.robot7
1 files changed, 4 insertions, 3 deletions
diff --git a/robot/resources/vid/create_service_instance.robot b/robot/resources/vid/create_service_instance.robot
index 6c7f8a03..00fafeac 100644
--- a/robot/resources/vid/create_service_instance.robot
+++ b/robot/resources/vid/create_service_instance.robot
@@ -22,11 +22,12 @@ Create VID Service Instance
Wait Until Page Contains Element xpath=//input[@parameter-name='Instance Name'] ${GLOBAL_VID_UI_TIMEOUT_LONG}
Wait Until Element Is Visible xpath=//input[@parameter-name='Instance Name'] ${GLOBAL_VID_UI_TIMEOUT_LONG}
Xpath Should Match X Times //input[@parameter-name='Instance Name'] 1
- Input Text When Enabled //input[@parameter-name='Instance Name'] ${service_name}
- Select From List When Enabled //select[@prompt='Select Subscriber Name'] ${customer_name}
+ Wait Until Keyword Succeeds 120s 5s Input Text When Enabled //input[@parameter-name='Instance Name'] ${service_name} timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
+ Select From List When Enabled //select[@prompt='Select Subscriber Name'] ${customer_name} timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
Select From List WHen Enabled //select[@prompt='Select Service Type'] ${service_type} timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
Click On Button When Enabled //div[@class = 'buttonRow']/button[text() = 'Confirm']
- Wait Until Element Contains xpath=//div[@ng-controller= 'msoCommitController']/pre[@class = 'log ng-binding'] requestId timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
+ Wait Until Element Contains xpath=//div[@ng-controller= 'msoCommitController']/pre[@class = 'log ng-binding'] requestState timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
+ Page Should Contain "requestState": "COMPLETE"
${response text}= Get Text xpath=//div[@ng-controller= 'msoCommitController']/pre[@class = 'log ng-binding']
Click On Button When Enabled //div[@class = 'buttonRow']/button[text() = 'Close']
${request_id}= Parse Request Id ${response text}