File tree Expand file tree Collapse file tree
tests/integration/features/file Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ Feature: validate
2020 Then the response should be a JSON array with the following mandatory values
2121 | key | value |
2222 | (jq ).ocs .data .data [0 ].name | Document Name |
23- And fetch field "(SIGN_UUID )ocs.data.data.0.signers.0.sign_uuid " from previous JSON response
23+ And fetch field "(SIGN_REQUEST_UUID )ocs.data.data.0.signers.0.sign_request_uuid " from previous JSON response
2424 And fetch field "(FILE_UUID)ocs.data.data.0.uuid" from previous JSON response
25- When sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_UUID >"
25+ When sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_REQUEST_UUID >"
2626 | key | value |
2727 | method | clickToSign |
2828 Then the response should have a status code 200
@@ -58,14 +58,13 @@ Feature: validate
5858 | name | document |
5959 And the response should have a status code 200
6060 And sending "get" to ocs "/apps/libresign/api/v1/file/list?details=1"
61- And fetch field "(SIGN_UUID)ocs.data.data.0.signers.0.sign_uuid" from previous JSON response
6261 And fetch field "(FILE_UUID)ocs.data.data.0.uuid" from previous JSON response
6362 When sending "<method>" to ocs "<url>"
6463 And the response should have a status code <statusCode>
6564
6665 Examples :
6766 | url | method | statusCode |
68- | /apps /libresign /api /v1 /file /validate /uuid /<SIGN_UUID > | get | 200 |
67+ | /apps /libresign /api /v1 /file /validate /uuid /<FILE_UUID > | get | 200 |
6968 | /apps /libresign /api /v1 /file /validate /file_id /171 | get | 404 |
7069 | /apps /libresign /api /v1 /file /validate / | post | 404 |
7170
You can’t perform that action at this time.
0 commit comments