katy.rotman | 0f75bea | 2018-02-26 11:48:50 +0200 | [diff] [blame] | 1 | Feature: Tosca Validation Flow |
| 2 | |
| 3 | Background: Init |
| 4 | Given I want to create a VLM |
| 5 | Given I want to set all Togglz to be "true" |
| 6 | |
katy.rotman | 808b866 | 2018-03-06 11:31:25 +0200 | [diff] [blame] | 7 | Scenario: VirtualMachineInterface Validation Flow - Missing Refs Element Validation Error |
katy.rotman | 0f75bea | 2018-02-26 11:48:50 +0200 | [diff] [blame] | 8 | When I want to create a VSP with onboarding type "NetworkPackage" |
| 9 | |
| 10 | Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/refs_missing.zip" |
| 11 | And I want to process the NetworkPackage file for this VSP |
| 12 | And I want to print the context data |
| 13 | |
| 14 | Then I want to check property "errors['nested.yml'][0].level" for value "WARNING" |
| 15 | Then I want to check property "errors['nested.yml'][0].message" for value: |
| 16 | """ |
| 17 | WARNING: [VLAN2]: Parent port property virtual_machine_interface_refs is missing in VLAN Resource ID [template_Vlan_2] |
| 18 | """ |
| 19 | |
katy.rotman | 808b866 | 2018-03-06 11:31:25 +0200 | [diff] [blame] | 20 | Scenario: VirtualMachineInterface Validation Flow - Missing Tag Validation Error |
katy.rotman | 0f75bea | 2018-02-26 11:48:50 +0200 | [diff] [blame] | 21 | When I want to create a VSP with onboarding type "NetworkPackage" |
| 22 | |
| 23 | Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/tag_missing.zip" |
| 24 | And I want to process the NetworkPackage file for this VSP |
| 25 | And I want to print the context data |
| 26 | |
| 27 | Then I want to check property "errors['nested.yml'][0].level" for value "WARNING" |
| 28 | Then I want to check property "errors['nested.yml'][0].message" for value: |
| 29 | """ |
| 30 | WARNING: [VLAN2]: VLAN Tag property virtual_machine_interface_properties_sub_interface_vlan_tag is missing in VLAN Resource ID [template_Vlan_2] |
| 31 | """ |