Skip to content
Snippets Groups Projects
Commit bb02e47c authored by Rosen Georgiev's avatar Rosen Georgiev
Browse files

code review comments fix

parent 0c1ab561
No related branches found
No related tags found
1 merge request!21added tests for get credentils with filters
Pipeline #59540 failed with stage
in 11 minutes and 21 seconds
......@@ -51,7 +51,7 @@ Feature: API - OCM - attestation - v1 - credential GET
And the field {$.data.records} contains {5} elements
@cred @negative
Scenario Outline: OCM - Attestation - Try to Get a credential with filter <credDefId> and value <value> - Negative
Scenario Outline: OCM - Attestation - Try to Get a credential with filter <filter> and value <value> - Negative
Then I get specific credential with filter {<filter>} and value {<value>} via OCM api
And the status code should be {<code>}
And the field {message} contains the value {<msg>}
......@@ -69,7 +69,7 @@ Feature: API - OCM - attestation - v1 - credential GET
| threadId | 2ewqeadasdadasda | 404 | No Data found | 404 |
@cred
Scenario Outline: OCM - Attestation - Get a credential with filter <credDefId> - Positive
Scenario Outline: OCM - Attestation - Get a credential with filter <filter> - Positive
#Get all credentials to choose 1 and get its data to be able to filter after that
Given I get all credentials with pageSize {20} and page {0} via OCM api
And the status code should be {200}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment