shrikantawachar | 6acf9fb | 2018-07-10 20:35:42 +0530 | [diff] [blame^] | 1 | # Copyright © 2018 European Support Limited |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | Feature: User Feedback - Enhance EP & LKG to include MRN |
| 16 | |
| 17 | Scenario: Test Feature Group and Entitlement Pool with toggle off |
| 18 | |
| 19 | When I want to set all Togglz to be "false" |
| 20 | |
| 21 | Then I want to create a VLM |
| 22 | Then I want to make sure this Item has status "Draft" |
| 23 | |
| 24 | When I want to get path "/items/{item.id}/versions/{item.versionId}/revisions" |
| 25 | Then I want to check property "listCount" for value 1 |
| 26 | |
| 27 | Then I want to create input data |
| 28 | Then I want to update the input property "name" with value "FG_01" |
| 29 | Then I want to update the input property "description" with value "FG without MRN" |
| 30 | Then I want to update the input property "partNumber" with value "999" |
| 31 | Then I want the following to fail |
| 32 | Then I want to create for path "/vendor-license-models/{item.id}/versions/{item.versionId}/feature-groups" with the input data from the context |
| 33 | |
| 34 | When I want to create input data |
| 35 | Then I want to update the input property "name" with value "EP_01" |
| 36 | Then I want to update the input property "description" with value "EP without MRN" |
| 37 | Then I want to create for path "/vendor-license-models/{item.id}/versions/{item.versionId}/entitlement-pools" with the input data from the context |
| 38 | |
| 39 | Scenario: Test Feature Group and Entitlement Pool with toggle on |
| 40 | |
| 41 | When I want to set all Togglz to be "true" |
| 42 | |
| 43 | Then I want to create a VLM |
| 44 | Then I want to make sure this Item has status "Draft" |
| 45 | |
| 46 | When I want to get path "/items/{item.id}/versions/{item.versionId}/revisions" |
| 47 | Then I want to check property "listCount" for value 1 |
| 48 | |
| 49 | Then I want to create input data |
| 50 | Then I want to update the input property "name" with value "FG_01" |
| 51 | Then I want to update the input property "description" with value "FG without MRN" |
| 52 | Then I want to update the input property "partNumber" with value "999" |
| 53 | Then I want to create for path "/vendor-license-models/{item.id}/versions/{item.versionId}/feature-groups" with the input data from the context |
| 54 | |
| 55 | When I want to create input data |
| 56 | Then I want to update the input property "name" with value "EP_01" |
| 57 | Then I want to update the input property "description" with value "EP without MRN" |
| 58 | Then I want the following to fail |
| 59 | Then I want to create for path "/vendor-license-models/{item.id}/versions/{item.versionId}/entitlement-pools" with the input data from the context |
| 60 | |
| 61 | |
| 62 | When I want to create input data |
| 63 | Then I want to update the input property "name" with value "EP_02" |
| 64 | Then I want to update the input property "description" with value "EP with MRN" |
| 65 | Then I want to update the input property "manufacturerReferenceNumber" with value "12345" |
| 66 | Then I want to create for path "/vendor-license-models/{item.id}/versions/{item.versionId}/entitlement-pools" with the input data from the context |
| 67 | Then I want to get path "/vendor-license-models/{item.id}/versions/{item.versionId}/entitlement-pools/{responseData.value}" |
| 68 | Then I want to check property "manufacturerReferenceNumber" for value "12345" |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |