summaryrefslogtreecommitdiffstats
path: root/openecomp-bdd/stepDefinitions/VSP_steps.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-bdd/stepDefinitions/VSP_steps.js')
-rw-r--r--openecomp-bdd/stepDefinitions/VSP_steps.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/openecomp-bdd/stepDefinitions/VSP_steps.js b/openecomp-bdd/stepDefinitions/VSP_steps.js
index 1f753fef5e..b9b928a7f6 100644
--- a/openecomp-bdd/stepDefinitions/VSP_steps.js
+++ b/openecomp-bdd/stepDefinitions/VSP_steps.js
@@ -48,11 +48,14 @@ When('I want to create a VSP with onboarding type {string}', function(string) {
* @exampleFile Example_VSP.feature
* @step I want to create a VSP with onboarding type {string}
**/
-When('I want to create a VSP', function() {
- let inputData = util.getJSONFromFile('resources/json/createVSP.json');
+When('I want to create a VSP with onboarding type Manual', function() {
+ let inputData = util.getJSONFromFile('resources/json/createManualVSP.json');
inputData.vendorName = this.context.vlm.name;
inputData.vendorId = this.context.vlm.id;
inputData.name = util.random();
+ inputData.licensingVersion = this.context.licensingVersion;
+ inputData.licensingData.licenseAgreement = this.context.licenseAgreement;
+ inputData.licensingData.featureGroups[0] = this.context.featureGroupId;
let path = '/vendor-software-products';
return util.request(this.context, 'POST', path, inputData).then(result => {
this.context.item = {id : result.data.itemId, versionId: result.data.version.id};