1026: Ability to Extend Entities - "Extra Data"
Test Case #:1026 | Test Case Name: Ability to Extend Entities - "Extra Data" |
System: openLMIS | Subsystem: blue |
Test case designed by: Anna Czyrko | Design Date:30.11.2016 |
Short description: Acceptance Criteria
|
|
Pre – conditions: |
|
Step | Action | Expected system response | Comment |
1 |
I create user with extraData. Method: PUT Example Body { "username": "Test", "firstName": "Andrzej", "lastName": "Szyszka", "email": "test@wp.pl", "verified": false, "active": false, "loginRestricted": false, "extraData": { "color": "orange", "belongsTo": "VR" } } |
| |
2 | I search existing User by existing extraData. Method: POST Example Body: { "extraData": { "color": "orange", "belongsTo": "VR" } } |
| |
3 |
I search existing User by not complete existing extraData. Method: POST Body: { "extraData": { "color": "orange" } } |
|
|
4 | I search existing User by non-existing extraData. Method: POST Body: { "extraData": { "color": "blue" } } |
|
|
Post – conditions: |