From aad2781298db9c48ef4be167709b905af39bf9e4 Mon Sep 17 00:00:00 2001 From: ayalaben Date: Sun, 18 Feb 2018 10:03:22 +0200 Subject: Flow Tests - delete item and Toggle Change-Id: I73ed5fdc13891b3ad56ab5c8f00083bf8f7d13f3 Issue-ID: SDC-1034 Signed-off-by: ayalaben --- openecomp-bdd/stepDefinitions/VLM_steps.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'openecomp-bdd/stepDefinitions/VLM_steps.js') 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); +}); + -- cgit 1.2.3-korg