diff options
author | 2019-04-22 16:51:32 +0000 | |
---|---|---|
committer | 2019-04-22 16:51:32 +0000 | |
commit | 0ba43dd065b87346adebe651c91d3f97299a32ec (patch) | |
tree | 816e904fef039aa40803662bda0268eda4477608 /tests/vid/newVNFChange/test2.robot | |
parent | 8d43285f32048a09429aff6b9326959fb8cd52b8 (diff) | |
parent | 867288fc5ce094fb70b85ec40ad9a1e33428238a (diff) |
Merge "changing simulator and endpoints for change management testing"
Diffstat (limited to 'tests/vid/newVNFChange/test2.robot')
-rw-r--r-- | tests/vid/newVNFChange/test2.robot | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/vid/newVNFChange/test2.robot b/tests/vid/newVNFChange/test2.robot new file mode 100644 index 00000000..1af2ae79 --- /dev/null +++ b/tests/vid/newVNFChange/test2.robot @@ -0,0 +1,49 @@ +*** Settings *** +Documentation New VNF Change SO workflows +Library Process +Library Selenium2Library +Library Collections +Library String +Library RequestsLibrary +Library OperatingSystem +Resource ../../common.robot +Resource ../resources/keywords/login_vid_keywords.robot + +*** Variables *** + +*** Test Cases *** +add new VNF Change in VID GUI From SO NATIVE worfkow + [Documentation] create VNF Change from SO NATIVE workflows + + Run Process ${CURDIR}/../resources/scripts/SetFeatureFlag.sh FLAG_HANDLE_SO_WORKFLOWS true shell=True cwd=${CURDIR}/../resources/scripts/ + Reload Page + Wait Until Page Contains VNF Changes ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} + + 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 xpath=//select[@name='serviceType'] gNB + + Select From List xpath=//select[@name='vnfType'] vLBMS + + Select From List 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 + + Wait Until Page Contains Operations timeout ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} + Input Text xpath=//input[@id='so-workflow-parameter-operations_timeout'] 10 + Input Text xpath=//input[@id='so-workflow-parameter-existing_software_version'] test + Input Text xpath=//input[@id='so-workflow-parameter-new_software_version'] test + + Wait Until Element Is Enabled xpath=//button[@id='submit'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT} + Click Button xpath=//button[@id='submit'] + + Wait Until Page Does Not Contain New VNF Change ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
\ No newline at end of file |