summaryrefslogtreecommitdiffstats
path: root/robot/resources/vid/create_service_instance.robot
diff options
context:
space:
mode:
authorJerry Flood <jf9860@att.com>2017-03-20 16:59:23 -0400
committerJerry Flood <jf9860@att.com>2017-03-20 17:36:31 -0400
commitf67ce0e39027a92c99c7cca39b5a7d5e32dd17fa (patch)
tree291d937fbfcc5b3bac365c8358b40f3081cb01f6 /robot/resources/vid/create_service_instance.robot
parent078edfaf9be7da48abfd9f1f484b13d6c58b7f25 (diff)
TEST-5 - stack deployment timeout
Change-Id: I62e2dc40016d5cded99e39eec1b4e6d380bfbffa 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.robot14
1 files changed, 7 insertions, 7 deletions
diff --git a/robot/resources/vid/create_service_instance.robot b/robot/resources/vid/create_service_instance.robot
index 204b7d67..7cdafe0c 100644
--- a/robot/resources/vid/create_service_instance.robot
+++ b/robot/resources/vid/create_service_instance.robot
@@ -19,14 +19,14 @@ Create VID Service Instance
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
${uuid}= Generate UUID
- Wait Until Page Contains Element xpath=//input[@parameter-name='Instance Name'] 120s
- Wait Until Element Is Visible xpath=//input[@parameter-name='Instance Name'] 120s
+ 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}
Select From List WHen Enabled //select[@prompt='Select Service Type'] ${service_type}
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=120s
+ Wait Until Element Contains xpath=//div[@ng-controller= 'msoCommitController']/pre[@class = 'log ng-binding'] requestId timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
${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}
@@ -39,15 +39,15 @@ Wait For Model
[Arguments] ${service_model_type}
Click Element partial link=Browse SDC Service
Page Should Contain Element xpath=//div/h1[text() = 'Browse SDC Service Models']
- Wait Until Page Contains Element xpath=//button[text() = 'Deploy'] 240s
+ Wait Until Page Contains Element xpath=//button[text() = 'Deploy'] ${GLOBAL_VID_UI_TIMEOUT_LONG}
Input Text When Enabled //input[@ng-model='searchString'] ${service_model_type}
- Wait Until Element Is Visible xpath=//tr[td/span/text() = '${service_model_type}']/td/button[contains(text(),'Deploy')] 10s
+ Wait Until Element Is Visible xpath=//tr[td/span/text() = '${service_model_type}']/td/button[contains(text(),'Deploy')] ${GLOBAL_VID_UI_TIMEOUT_SHORT}
Delete Service Instance By GUI
[Arguments] ${service_instance_id} ${customer_name}
Click On Element When Visible xpath=//a/span[@class='glyphicon glyphicon-remove']
- Click On Button When Visible xpath=//div[@class='buttonRow']/button[@ngx-enabled='true']
- Wait Until Element Contains xpath=//div[@ng-controller='deletionDialogController']//div[@ng-controller= 'msoCommitController']/pre[@class = 'log ng-binding'] requestId timeout=120s
+ Click On Button When Enabled xpath=//div[@class='buttonRow']/button[@ngx-enabled='true']
+ Wait Until Element Contains xpath=//div[@ng-controller='deletionDialogController']//div[@ng-controller= 'msoCommitController']/pre[@class = 'log ng-binding'] requestId timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
${response text}= Get Text xpath=//div[@ng-controller='deletionDialogController']//div[@ng-controller= 'msoCommitController']/pre[@class = 'log ng-binding']
${request_id}= Parse Request Id ${response text}
Poll MSO Get Request ${GLOBAL_MSO_STATUS_PATH}${request_id} COMPLETE