blob: 30244f99b0102f9598e7242c8fa7d0bb43c50179 [file] [log] [blame]
Bartosz Gardziejewski867288f2019-04-18 11:21:50 +02001*** Settings ***
2Documentation New VNF Change SO workflows
3Library Process
4Library Selenium2Library
5Library Collections
6Library String
7Library RequestsLibrary
8Library OperatingSystem
9Resource ../../common.robot
10Resource ../resources/keywords/login_vid_keywords.robot
11
12*** Variables ***
13
14
15*** Test Cases ***
16add new VNF Change in VID GUI From SO SDC worfkow
17 [Documentation] create VNF Change from SO SDC workflows
18
19 Click Element xpath=//div[@heading='VNF Changes']//a[1]
20
21 Click Element xpath=//div[@ng-click='vm.createNewChange()']
22
23 Wait Until Page Contains New VNF Change ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
24
25 Select From List xpath=//select[@name='subscriber'] CAR_2020_ER
26
27 Select From List xpath=//select[@name='serviceType'] gNB
28
29 Select From List xpath=//select[@name='vnfType'] vLBMS
30
31 Select From List xpath=//select[@name='fromVNFVersion'] 3.0
32
33 Click Element xpath=//multiselect[@name='vnfName']
34 Click Element xpath=//a[contains(text(),'vnf-ws')]
35
36 Select From List xpath=//select[@name='workflow'] inPlaceSoftwareUpdate
37
38 Wait Until Page Contains Operations Timeout ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
39 Input Text xpath=//input[@id='so-workflow-parameter-operations_timeout'] 10
40 Input Text xpath=//input[@id='so-workflow-parameter-existing_software_version'] test
41 Input Text xpath=//input[@id='so-workflow-parameter-new_software_version'] test
42
43 Wait Until Element Is Enabled xpath=//button[@id='submit'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
44 Click Button xpath=//button[@id='submit']
45
46 Wait Until Page Does Not Contain New VNF Change ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
47 [Teardown] Close Browser