summaryrefslogtreecommitdiffstats
path: root/robot/resources/vid/create_service_instance.robot
diff options
context:
space:
mode:
authorbdfreeman1421 <bf1936@att.com>2018-05-06 12:12:27 -0400
committerBrian Freeman <bf1936@att.com>2018-05-10 22:12:13 -0500
commit7f58ef1481134271aa6463b1cea824bc2df4391b (patch)
treed51e676e9aa6aacb8733fceba6821cbf58f6c4c1 /robot/resources/vid/create_service_instance.robot
parenta66714ebceaec20c429c0db8060ef84152e82de2 (diff)
Add Project and Owning Entity to VID
Issue-ID: TEST-89 Change-Id: I290589d74c13960a6cc57ae937f5c62f535f8c17 Signed-off-by: Brian Freeman <bf1936@att.com> Update Instantiate for Beijing Issue-ID: TEST-91 Change-Id: If56dff3719a63f45cc15e0fdd6a0499b6de5d00e Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/vid/create_service_instance.robot')
-rw-r--r--robot/resources/vid/create_service_instance.robot10
1 files changed, 6 insertions, 4 deletions
diff --git a/robot/resources/vid/create_service_instance.robot b/robot/resources/vid/create_service_instance.robot
index 00fafeac..b05bf668 100644
--- a/robot/resources/vid/create_service_instance.robot
+++ b/robot/resources/vid/create_service_instance.robot
@@ -14,7 +14,7 @@ Resource vid_interface.robot
*** Keywords ***
Create VID Service Instance
[Documentation] Creates a service instance using VID
- [Arguments] ${customer_name} ${service_model_type} ${service_type} ${service_name}
+ [Arguments] ${customer_name} ${service_model_type} ${service_type} ${service_name} ${project_name} ${owning_entity}
Go To VID Browse Service Models
Wait Until Keyword Succeeds 300s 1s Wait For Model ${service_model_type}
Press Key xpath=//tr[td/span/text() = '${service_model_type}']/td/button[text() = 'Deploy' and not(@disabled)] \\13
@@ -24,11 +24,13 @@ Create VID Service Instance
Xpath Should Match X Times //input[@parameter-name='Instance Name'] 1
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}
+ Select From List When Enabled //select[@prompt='Select Service Type'] ${service_type} timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
+ Select From List When Enabled //select[@prompt='Select Project Name'] ${project_name} timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
+ Select From List When Enabled //select[@prompt='Select Owning Entity'] ${owning_entity} 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'] requestState timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
+ Wait Until Element Contains xpath=//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']
+ ${response text}= Get Text xpath=//pre[@class = 'log ng-binding']
Click On Button When Enabled //div[@class = 'buttonRow']/button[text() = 'Close']
${request_id}= Parse Request Id ${response text}
${service_instance_id}= Parse Instance Id ${response text}