/
Get merge requests List/ ID tests
ЕСОЗ - публічна документація
Get merge requests List/ ID tests
n/n | description | inputs | expected result GraphQl | actual result GraphQl |
---|---|---|---|---|
GMR1 | Get merge requests list/id without scopes |
| missing allowance merge_request:read | "code": "FORBIDDEN", |
GMR2 | Get merge requests list/id without role |
| 403, FORBIDDEN | 200, ok, role is not checked |
GMR3 | Get merge requests list/id with client not NHS |
| 403, FORBIDDEN | "code": "FORBIDDEN", Current client is not allowed to access this resource |
GMR4 | Get merge request by valid ID which doesn't exist |
| NOT_FOUND | { |
GMR4.1 | Get merge request by valid ID which doesn't belong to merge request |
| "message": "In argument \"id\": Expected node type in [\"MergeRequest\"], found \"ManualMergeCandidate\".", | "message": "In argument \"id\": Expected node type in [\"MergeRequest\"], found \"ManualMergeCandidate\".", |
GMR5 | Get merge request by valid ID in status <> NEW/POSTPONE |
| FORBIDDEN, You are not allowed to view this merge request | { "data": { "mergeRequest": null } } |
ASM5 | Get merge request by valid ID in status NEW/POSTPONE |
| 200, data | 200, data |
ASM6 | Get merge requests List |
| 200, response has only user's merge requests in status NEW, POSTPONE | 200, |
ASM7 | Get merge requests List with other NHS reviewer token |
| 200, response has only user's merge requests in status NEW, POSTPONE | 200, response has only user's merge requests in status NEW, POSTPONE |
LikeBe the first to like this
, multiple selections available,
Related content
Бізнес процес дедублікації в електронному кабінеті
Бізнес процес дедублікації в електронному кабінеті
Read with this
Update merge_request tests
Update merge_request tests
More like this
Deduplication process NEW
Deduplication process NEW
Read with this
Assign merge candidate tests
Assign merge candidate tests
More like this
Person deactivation test cases
Person deactivation test cases
Read with this
(GraphQL) Get merge requests list
(GraphQL) Get merge requests list
More like this
ЕСОЗ - публічна документація