docker for cucumber BDD
[sdc.git] / cucumber-js-test-apis-ci / features / UserFeedback / TestMRN.feature
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
18
19     Then I want to create a VLM
20     Then I want to make sure this Item has status "Draft"
21
22     When I want to get path "/items/{item.id}/versions/{item.versionId}/revisions"
23     Then I want to check property "listCount" for value 1
24
25     Then I want to create input data
26     Then I want to update the input property "name" with value "FG_01"
27     Then I want to update the input property "description" with value "FG without MRN"
28     Then I want to update the input property "partNumber" with value "999"
29     Then I want to create for path "/vendor-license-models/{item.id}/versions/{item.versionId}/feature-groups" with the input data from the context
30
31     When I want to create input data
32     Then I want to update the input property "name" with value "EP_01"
33     Then I want to update the input property "description" with value "EP without MRN"
34     Then I want the following to fail
35     Then I want to create for path "/vendor-license-models/{item.id}/versions/{item.versionId}/entitlement-pools" with the input data from the context
36
37
38     When I want to create input data
39     Then I want to update the input property "name" with value "EP_02"
40     Then I want to update the input property "description" with value "EP with MRN"
41     Then I want to update the input property "manufacturerReferenceNumber" with value "12345"
42     Then I want to create for path "/vendor-license-models/{item.id}/versions/{item.versionId}/entitlement-pools" with the input data from the context
43     Then I want to get path "/vendor-license-models/{item.id}/versions/{item.versionId}/entitlement-pools/{responseData.value}"
44     Then I want to check property "manufacturerReferenceNumber" for value "12345"
45
46
47
48
49
50