docker for cucumber BDD
[sdc.git] / cucumber-js-test-apis-ci / features / Onboarding / DeleteItem / DeleteVLMCertified.feature
1 Feature: Delete VLM Certified
2
3     Scenario: Delete VLM that was certified - negative
4         When I want to create a VLM
5         Then I want to create input data
6         Then I want to update the input property "name" with a random value
7         Then I want to update the input property "type" with value "Universal"
8         Then I want to create for path "/vendor-license-models/{item.id}/versions/{item.versionId}/license-key-groups" with the input data from the context
9         Then I want to copy to property "lastProcessId" from response data path "value"
10         Then I want to commit this Item
11
12         Then I want to get path "/items/{item.id}/versions"
13         Then I want to check property "listCount" for value 1
14         Then I want to make sure this Item has status "Draft"
15         When I want to submit this VLM
16         Then I want to make sure this Item has status "Certified"
17         Then I want to get path "/items/{item.id}/versions"
18         Then I want to check property "listCount" for value 1
19
20         Then I want the following to fail with error message "VLM has been certified and cannot be deleted."
21         Then I want to delete this VLM
22
23        Then I want to get path "/items/{item.id}/versions"
24        Then I want to check property "listCount" for value 1