ayalaben | aad2781 | 2018-02-18 10:03:22 +0200 | [diff] [blame] | 1 | Feature: Delete VLM |
| 2 | |
| 3 | Scenario: Delete VLM with only draft |
| 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 | |
| 16 | Then I want to delete this VLM |
| 17 | |
| 18 | Then I want the following to fail with error code "GENERAL_ERROR_REST_ID" |
| 19 | Then I want to get path "/items/{item.id}/versions" |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |