X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tests%2Fvid%2FnewVNFChange%2Ftest1.robot;h=4c3e2a68bd0dca1c1b65226a85fecfa46b402d69;hb=ce7e0704a1df1e17623b556fcb03ac77d7570ed4;hp=b2093451518c4662b1e92ec92d964d9ff6c073c9;hpb=7ca7e9aabe2b2f35888e505061894ed0a491e4c2;p=integration%2Fcsit.git diff --git a/tests/vid/newVNFChange/test1.robot b/tests/vid/newVNFChange/test1.robot index b2093451..4c3e2a68 100644 --- a/tests/vid/newVNFChange/test1.robot +++ b/tests/vid/newVNFChange/test1.robot @@ -14,7 +14,6 @@ ${body}= {"workflowsDetails":[{"workflowName":"VNF In Place Software Update","v *** Test Cases *** add new VNF Change in VID GUI From Local worfkow - [Documentation] Logs in to VID GUI Setup Browser Go To ${VID_LOGIN_URL} @@ -38,24 +37,25 @@ add new VNF Change in VID GUI From Local worfkow ${headers}= Create Dictionary Accept-Encoding=gzip Accept-Encoding=deflate Content-Type=application/json ${response}= Post Request vid /vid/change-management/vnf_workflow_relation headers=${headers} data=${body} + Wait Until Element Is Visible xpath=//div[@heading='VNF Changes']//a[1] Click Element xpath=//div[@heading='VNF Changes']//a[1] Click Element xpath=//div[@ng-click='vm.createNewChange()'] Wait Until Page Contains New VNF Change ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} - Select From List xpath=//select[@name='subscriber'] CAR_2020_ER + Select From List By Label xpath=//select[@name='subscriber'] CAR_2020_ER - Select From List xpath=//select[@name='serviceType'] gNB + Select From List By Label xpath=//select[@name='serviceType'] gNB - Select From List xpath=//select[@name='vnfType'] vLBMS + Select From List By Label xpath=//select[@name='vnfType'] vLBMS - Select From List xpath=//select[@name='fromVNFVersion'] 3.0 + Select From List By Label xpath=//select[@name='fromVNFVersion'] 3.0 Click Element xpath=//multiselect[@name='vnfName'] Click Element xpath=//a[contains(text(),'vnf-ws')] - Select From List xpath=//select[@name='workflow'] VNF In Place Software Update + Select From List By Label xpath=//select[@name='workflow'] VNF In Place Software Update Wait Until Page Contains Operations timeout ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} Input Text xpath=//input[@id='internal-workflow-parameter-text-2-operations-timeout'] 10