diff options
Diffstat (limited to 'openecomp-bdd/stepDefinitions/VLM_steps.js')
-rw-r--r-- | openecomp-bdd/stepDefinitions/VLM_steps.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/openecomp-bdd/stepDefinitions/VLM_steps.js b/openecomp-bdd/stepDefinitions/VLM_steps.js index ea75313789..35e78b2d97 100644 --- a/openecomp-bdd/stepDefinitions/VLM_steps.js +++ b/openecomp-bdd/stepDefinitions/VLM_steps.js @@ -55,3 +55,25 @@ Then('I want to delete this VLM', function() { return util.request(this.context, 'DELETE', path); }); + +/** + * @module VLM + * @exampleFile ArchiveItem.feature + * @step I want to list Archived VLMs + **/ +Then('I want to list Archived VLMs', function() { + let path = '/vendor-license-models/?Status=ARCHIVED'; + return util.request(this.context, 'GET', path); +}); + +/** + * @module VLM + * @exampleFile ArchiveItem.feature + * @step I want to list Active VLMs + **/ +Then('I want to list Active VLMs', function() { + let path = '/vendor-license-models'; + return util.request(this.context, 'GET', path); +}); + + |