CI Test for get all interface lifecycle types
[sdc.git] / cucumber-js-test-apis-ci / features / TOSCA / VirtualMachineInterfaceValidationGuideline3violations.feature
1 Feature: Tosca VMI 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
7   Scenario:VirtualMachineInterface Validation Flow - Guideline Validation issues present
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/all-violations.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'][3].level" for value "WARNING"
15     Then I want to check property "errors['nested.yml'][3].message" for value:
16     """
17  WARNING: [VlANG1]: VLAN Resource will not be translated as the VLAN Sub-interface [template_Vlan_2] is not modeled as resource group
18     """
19
20
21     Then I want to check property "errors['nested.yml'][1].level" for value "ERROR"
22     Then I want to check property "errors['nested.yml'][1].message" for value:
23     """
24     ERROR: [VlANG2]: There should not be any Compute Server Node, Port, Parent Port in nested file [nested.yml]
25 """
26
27     Then I want to check property "errors['main.yml'][6].level" for value "WARNING"
28     Then I want to check property "errors['main.yml'][6].message" for value:
29     """
30   WARNING: [VlANG3]: Network role associated with VLAN Sub-interface id[test_Vlan1] is not following the naming convention
31     """