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
...@@ -51,7 +51,7 @@ Feature: API - OCM - attestation - v1 - credential GET ...@@ -51,7 +51,7 @@ Feature: API - OCM - attestation - v1 - credential GET
And the field {$.data.records} contains {5} elements And the field {$.data.records} contains {5} elements
@cred @negative @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 Then I get specific credential with filter {<filter>} and value {<value>} via OCM api
And the status code should be {<code>} And the status code should be {<code>}
And the field {message} contains the value {<msg>} And the field {message} contains the value {<msg>}
...@@ -69,7 +69,7 @@ Feature: API - OCM - attestation - v1 - credential GET ...@@ -69,7 +69,7 @@ Feature: API - OCM - attestation - v1 - credential GET
| threadId | 2ewqeadasdadasda | 404 | No Data found | 404 | | threadId | 2ewqeadasdadasda | 404 | No Data found | 404 |
@cred @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 #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 Given I get all credentials with pageSize {20} and page {0} via OCM api
And the status code should be {200} And the status code should be {200}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment