diff options
author | shrikantawachar <shrikant.awachar@amdocs.com> | 2018-07-14 00:18:09 +0530 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2018-07-15 05:30:15 +0000 |
commit | 3f55e8e7cff615f2f97d3e0d5def0c2f0d80cea5 (patch) | |
tree | 35f088ff634239ab6df01922bc3ff753344e833f /openecomp-bdd/stepDefinitions/InputData_steps.js | |
parent | e8a916c229e23ce406cae7d480a201eb505e9261 (diff) |
Enhancement in md5 field of Image
Implementation and Flow tests
Change-Id: I4c7e3dfe077ba43317cf0b06b0ea4d85bfb50da8
Issue-ID: SDC-1502
Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
Diffstat (limited to 'openecomp-bdd/stepDefinitions/InputData_steps.js')
-rw-r--r-- | openecomp-bdd/stepDefinitions/InputData_steps.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openecomp-bdd/stepDefinitions/InputData_steps.js b/openecomp-bdd/stepDefinitions/InputData_steps.js index 73695d0e7f..57a374b9bb 100644 --- a/openecomp-bdd/stepDefinitions/InputData_steps.js +++ b/openecomp-bdd/stepDefinitions/InputData_steps.js @@ -64,6 +64,17 @@ Then('I want to update the input property {string} with value {string}', functio /** * @module InputData + * @description sets the input property on the input data to the value from property + * @exampleFile TestMD5.feature + * @step I want to update the input property {string} from property {string} + **/ +Then('I want to update the input property {string} from property {string}', function(string, string2) { + let val = _.get(this.context, string2); + _.set(this.context.inputData, string, val); +}); + +/** + * @module InputData * @description removes a property from the input data object * @exampleFile Example_Rest_Calls.feature * @step I want to remove {string} from the input data |