From 7f58ef1481134271aa6463b1cea824bc2df4391b Mon Sep 17 00:00:00 2001 From: bdfreeman1421 Date: Sun, 6 May 2018 12:12:27 -0400 Subject: Add Project and Owning Entity to VID Issue-ID: TEST-89 Change-Id: I290589d74c13960a6cc57ae937f5c62f535f8c17 Signed-off-by: Brian Freeman Update Instantiate for Beijing Issue-ID: TEST-91 Change-Id: If56dff3719a63f45cc15e0fdd6a0499b6de5d00e Signed-off-by: Brian Freeman --- robot/resources/vid/create_service_instance.robot | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'robot/resources/vid/create_service_instance.robot') 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} -- cgit 1.2.3-korg