Bartosz Gardziejewski | 867288f | 2019-04-18 11:21:50 +0200 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation New VNF Change SO workflows |
| 3 | Library Process |
| 4 | Library Selenium2Library |
| 5 | Library Collections |
| 6 | Library String |
| 7 | Library RequestsLibrary |
| 8 | Library OperatingSystem |
| 9 | Resource ../../common.robot |
| 10 | Resource ../resources/keywords/login_vid_keywords.robot |
| 11 | |
| 12 | *** Variables *** |
| 13 | |
| 14 | *** Test Cases *** |
| 15 | add new VNF Change in VID GUI From SO NATIVE worfkow |
| 16 | [Documentation] create VNF Change from SO NATIVE workflows |
| 17 | |
| 18 | Run Process ${CURDIR}/../resources/scripts/SetFeatureFlag.sh FLAG_HANDLE_SO_WORKFLOWS true shell=True cwd=${CURDIR}/../resources/scripts/ |
| 19 | Reload Page |
Bartosz Gardziejewski | 867288f | 2019-04-18 11:21:50 +0200 | [diff] [blame] | 20 | |
Ittay Stern | ce7e070 | 2020-03-09 15:41:23 +0200 | [diff] [blame^] | 21 | Wait Until Element Is Visible xpath=//div[@heading='VNF Changes']//a[1] |
Bartosz Gardziejewski | 867288f | 2019-04-18 11:21:50 +0200 | [diff] [blame] | 22 | Click Element xpath=//div[@heading='VNF Changes']//a[1] |
| 23 | |
| 24 | Click Element xpath=//div[@ng-click='vm.createNewChange()'] |
| 25 | |
| 26 | Wait Until Page Contains New VNF Change ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} |
| 27 | |
| 28 | Select From List xpath=//select[@name='subscriber'] CAR_2020_ER |
| 29 | |
| 30 | Select From List xpath=//select[@name='serviceType'] gNB |
| 31 | |
| 32 | Select From List xpath=//select[@name='vnfType'] vLBMS |
| 33 | |
| 34 | Select From List xpath=//select[@name='fromVNFVersion'] 3.0 |
| 35 | |
| 36 | Click Element xpath=//multiselect[@name='vnfName'] |
| 37 | Click Element xpath=//a[contains(text(),'vnf-ws')] |
| 38 | |
| 39 | Select From List xpath=//select[@name='workflow'] VNF In Place Software Update |
| 40 | |
| 41 | Wait Until Page Contains Operations timeout ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} |
Ittay Stern | f07134a | 2019-07-29 14:07:45 +0300 | [diff] [blame] | 42 | Input Text xpath=//input[@id='internal-workflow-parameter-text-2-operations-timeout'] 10 |
| 43 | Input Text xpath=//input[@id='internal-workflow-parameter-text-3-existing-software-version'] test |
| 44 | Input Text xpath=//input[@id='internal-workflow-parameter-text-4-new-software-version'] test |
Bartosz Gardziejewski | 867288f | 2019-04-18 11:21:50 +0200 | [diff] [blame] | 45 | |
| 46 | Wait Until Element Is Enabled xpath=//button[@id='submit'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} |
| 47 | Click Button xpath=//button[@id='submit'] |
| 48 | |
Wojciech Sliwka | 895dab4 | 2019-05-27 17:45:53 +0200 | [diff] [blame] | 49 | Wait Until Page Does Not Contain New VNF Change ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} |