diff options
author | 2018-09-19 17:40:40 -0400 | |
---|---|---|
committer | 2018-09-19 17:40:40 -0400 | |
commit | fbe4bb98345727d190cefcfb3ec54ad9075fba9d (patch) | |
tree | f2e0c091a4c132c89dafb061c81eeebfb0e9a773 /cmso-robot/robot/testsuites/ChangeManagementFailure.robot | |
parent | b031d50f82f8ca5b7fd0609a92c719f43a9f518d (diff) |
Change Management Schedule Optimization
Adding Robot Test Scripts for Change Management Schedule Optimization
Change-Id: Id5edf9d3fb3c2390791362692c8b25f7607045c6
Issue-ID: OPTFRA-352
Signed-off-by: RamaPrasad Amaranarayana (ra5425) <ra5425@att.com>
Diffstat (limited to 'cmso-robot/robot/testsuites/ChangeManagementFailure.robot')
-rw-r--r-- | cmso-robot/robot/testsuites/ChangeManagementFailure.robot | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/cmso-robot/robot/testsuites/ChangeManagementFailure.robot b/cmso-robot/robot/testsuites/ChangeManagementFailure.robot new file mode 100644 index 0000000..5e74105 --- /dev/null +++ b/cmso-robot/robot/testsuites/ChangeManagementFailure.robot @@ -0,0 +1,57 @@ +*** Settings *** +Documentation Creates VID VNF Instance + +Library StringTemplater +Library UUID +Library OperatingSystem +Resource ../resources/test_templates/change_management.robot + +# Test Setup +Test Template Change Management Failure Template +# Test Teardown +*** Variable *** +${status_code_variable}= 400 +${template_folder}= robot/assets/templates/FailureCasesChangeManagement +*** Test Cases *** +# This for loop will generate a test for each file. It has been replaced by GenerateRobot.py which generates something similar to the below cases +# This was done because all tests run by the for loop counted as a single test and could not be tagged individually +#@{Global_cm...} may show as an error but it still seems to work I guess +#One VNF One Change Window ete failure +# :FOR ${current_template_file} IN @{GLOBAL_CM_ete failure_TEMPLATES} +# \ ${current_template_file} ${status_code_variable} ${template_folder} + +One Vnf One Change Window Empty Domain OneVnfOneChangeWindowEmptyDomain.json.template ${status_code_variable} ${template_folder} + [Tags] ete failure future single VNF single window + +One Vnf One Change Window Empty Schedule ID OneVnfOneChangeWindowEmptyScheduleID.json.template ${status_code_variable} ${template_folder} + [Tags] ete failure future single VNF single window + +## Schedule name is now optional +One Vnf One Change Window Empty Schedule Name OneVnfOneChangeWindowEmptyScheduleName.json.template 202 ${template_folder} + [Tags] ete failure future single VNF single window + +One Vnf One Change Window Empty User ID OneVnfOneChangeWindowEmptyUserID.json.template ${status_code_variable} ${template_folder} + [Tags] ete failure future single VNF single window + +## Policies are validated by SNIRO +One Vnf One Change Window Incorrect Policy Id OneVnfOneChangeWindowIncorrectPolicyId.json.template 202 ${template_folder} + [Tags] ete failure future single VNF single window + +## 1806 allow for unknown workflows +One Vnf One Change Window Incorrect Workflow OneVnfOneChangeWindowIncorrectWorkflow.json.template 202 ${template_folder} + [Tags] ete failure future single VNF single window + +One Vnf One Change Window Negative Normal Duration In Seconds OneVnfOneChangeWindowNegativeNormalDurationInSeconds.json.template ${status_code_variable} ${template_folder} + [Tags] ete failure future single VNF single window + +One Vnf One Change Window No End Time OneVnfOneChangeWindowNoEndTime.json.template ${status_code_variable} ${template_folder} + [Tags] ete failure future single VNF single window + +One Vnf One Change Window No Node Name OneVnfOneChangeWindowNoNodeName.json.template ${status_code_variable} ${template_folder} + [Tags] ete failure future single VNF single window + +One Vnf One Change Window No Start Time OneVnfOneChangeWindowNoStartTime.json.template ${status_code_variable} ${template_folder} + [Tags] ete failure future single VNF single window + +One Vnf One Change Window Switched Time OneVnfOneChangeWindowSwitchedTime.json.template ${status_code_variable} ${template_folder} + [Tags] ete failure future single VNF single window |