blob: 4c0ad29f2ed117de73b550b693dc1f1261e4e0df [file] [log] [blame]
katy.rotman0f75bea2018-02-26 11:48:50 +02001Feature: 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.rotman808b8662018-03-06 11:31:25 +02007 Scenario: VirtualMachineInterface Validation Flow - Missing Refs Element Validation Error
katy.rotman0f75bea2018-02-26 11:48:50 +02008 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.rotman808b8662018-03-06 11:31:25 +020020 Scenario: VirtualMachineInterface Validation Flow - Missing Tag Validation Error
katy.rotman0f75bea2018-02-26 11:48:50 +020021 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 """