summaryrefslogtreecommitdiffstats
path: root/openecomp-bdd/stepDefinitions/VLM_steps.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-bdd/stepDefinitions/VLM_steps.js')
-rw-r--r--openecomp-bdd/stepDefinitions/VLM_steps.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/openecomp-bdd/stepDefinitions/VLM_steps.js b/openecomp-bdd/stepDefinitions/VLM_steps.js
index 6e0dd318cf..ea75313789 100644
--- a/openecomp-bdd/stepDefinitions/VLM_steps.js
+++ b/openecomp-bdd/stepDefinitions/VLM_steps.js
@@ -45,3 +45,13 @@ Then('I want to submit this VLM', function() {
return util.request(this.context, 'PUT', path, inputData);
});
+/**
+ * @module VLM
+ * @exampleFile DeleteVLMDraft.feature
+ * @step I want to delete this VLM
+ **/
+Then('I want to delete this VLM', function() {
+ let path = '/vendor-license-models/' + this.context.item.id ;
+ return util.request(this.context, 'DELETE', path);
+});
+