1 Feature: Delete VSP Draft
4 Given I want to create a VLM
6 Scenario: Delete VSP with only draft
7 When I want to create a VSP with onboarding type "NetworkPackage"
8 Then I want to make sure this Item has status "Draft"
10 When I want to upload a NetworkPackage for this VSP from path "resources/uploads/BASE_MUX.zip"
11 And I want to process the NetworkPackage file for this VSP
13 Then I want to commit this Item
15 Then I want to get path "/items/{item.id}/versions"
16 Then I want to check property "listCount" for value 1
17 Then I want to make sure this Item has status "Draft"
19 When I want to submit this VSP
20 Then I want to make sure this Item has status "Certified"
21 Then I want to get path "/items/{item.id}/versions"
22 Then I want to check property "listCount" for value 1
24 Then I want the following to fail with error message "VSP has been certified and cannot be deleted."
25 Then I want to delete this VSP
27 Then I want to get path "/items/{item.id}/versions"
28 Then I want to check property "listCount" for value 1