@@ -50,14 +50,14 @@ Feature: request-signature
5050 And I open the latest email to "signer1@domain.test" with subject "LibreSign: There is a file for you to sign"
5151 And as user "signer1"
5252 And I fetch the signer UUID from notification
53- When sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
53+ When sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
5454 Then the response should have a status code 200
5555 And as user "signer2"
5656 When sending "get" to ocs "/apps/notifications/api/v2/notifications"
5757 Then the response should be a JSON array with the following mandatory values
5858 | key | value |
5959 | (jq ).ocs .data | [] |
60- When sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
60+ When sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
6161 Then the response should have a status code 422
6262 And the response should be a JSON array with the following mandatory values
6363 | key | value |
@@ -87,14 +87,14 @@ Feature: request-signature
8787 And I open the latest email to "contact@domain.test" with subject "LibreSign: There is a file for you to sign"
8888 And as user "signer1"
8989 And I fetch the signer UUID from notification
90- When sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
90+ When sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
9191 Then the response should have a status code 200
9292 And as user "signer2"
9393 When sending "get" to ocs "/apps/notifications/api/v2/notifications"
9494 Then the response should be a JSON array with the following mandatory values
9595 | key | value |
9696 | (jq ).ocs .data | [] |
97- When sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
97+ When sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
9898 Then the response should have a status code 422
9999 And the response should be a JSON array with the following mandatory values
100100 | key | value |
@@ -116,7 +116,7 @@ Feature: request-signature
116116 And as user "signer1"
117117 And I fetch the signer UUID from notification
118118 And as user ""
119- When sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
119+ When sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
120120 Then the response should have a status code 422
121121 And the response should be a JSON array with the following mandatory values
122122 | key | value |
@@ -142,7 +142,7 @@ Feature: request-signature
142142 And user "signer2" exists
143143 And set the email of user "signer2" to "signer2@domain.test"
144144 And as user "signer2"
145- When sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
145+ When sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
146146 Then the response should have a status code 422
147147 And the response should be a JSON array with the following mandatory values
148148 | key | value |
@@ -165,7 +165,7 @@ Feature: request-signature
165165 And I fetch the signer UUID from opened email
166166 And as user ""
167167 When wait for 2 second
168- And sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
168+ And sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
169169 Then the response should have a status code 422
170170 And the response should be a JSON array with the following mandatory values
171171 | key | value |
@@ -191,15 +191,15 @@ Feature: request-signature
191191 And run the command "config:app:set libresign maximum_validity --value=300 --type=integer" with result code 0
192192 And run the command "config:app:set libresign renewal_interval --value=1 --type=integer" with result code 0
193193 Given wait for 2 second
194- When sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
194+ When sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
195195 Then the response should have a status code 422
196196 And the response should be a JSON array with the following mandatory values
197197 | key | value |
198198 | action | 4500 |
199199 | title | Link expired |
200200 Given my inbox is empty
201201 When as user "admin"
202- And sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_UUID >/renew/email"
202+ And sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_REQUEST_UUID >/renew/email"
203203 Then the response should have a status code 200
204204 And the response should be a JSON array with the following mandatory values
205205 | key | value |
@@ -211,16 +211,16 @@ Feature: request-signature
211211 # the 4rd don't will fail because on each valid request, the renewal
212212 # interval is renewed.
213213 And run the command "config:app:set libresign renewal_interval --value=3 --type=integer" with result code 0
214- When sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
214+ When sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
215215 And the response should have a status code 200
216216 Given wait for 1 second
217- When sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
217+ When sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
218218 Then the response should have a status code 200
219219 Given wait for 1 second
220- When sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
220+ When sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
221221 Then the response should have a status code 200
222222 Given wait for 1 second
223- When sending "get" to "/apps/libresign/p/sign/<SIGN_UUID >"
223+ When sending "get" to "/apps/libresign/p/sign/<SIGN_REQUEST_UUID >"
224224 Then the response should have a status code 200
225225 And the response should contain the initial state "libresign-action" with the following values:
226226 """
@@ -468,15 +468,15 @@ Feature: request-signature
468468 | (jq ).[] \| select (.signatureMethods != null ) \| .signatureMethods .emailToken .hasConfirmCode | false |
469469 | (jq ).[] \| select (.signatureMethods != null ) \| .signatureMethods .emailToken .blurredEmail | 111 ***@***.test |
470470 | (jq ).[] \| select (.signatureMethods != null ) \| .signatureMethods .emailToken .hashOfEmail | c8cb84220c4cf19b723390f29b83a0f8 |
471- And sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_UUID >"
471+ And sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_REQUEST_UUID >"
472472 | method | clickToSign |
473473 | token | |
474474 And the response should have a status code 422
475475 Then the response should be a JSON array with the following mandatory values
476476 | key | value |
477477 | (jq ).ocs .data .action | 2000 |
478478 | (jq ).ocs .data .errors [0 ].message | Invalid code . |
479- And sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_UUID >"
479+ And sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_REQUEST_UUID >"
480480 | method | account |
481481 | token | |
482482 And the response should have a status code 422
@@ -513,15 +513,15 @@ Feature: request-signature
513513 | (jq ).[] \| select (.signatureMethods != null ) \| .signatureMethods .emailToken .hasConfirmCode | false |
514514 | (jq ).[] \| select (.signatureMethods != null ) \| .signatureMethods .emailToken .blurredEmail | 111 ***@***.test |
515515 | (jq ).[] \| select (.signatureMethods != null ) \| .signatureMethods .emailToken .hashOfEmail | c8cb84220c4cf19b723390f29b83a0f8 |
516- And sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_UUID >"
516+ And sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_REQUEST_UUID >"
517517 | method | email |
518518 | token | |
519519 And the response should have a status code 422
520520 Then the response should be a JSON array with the following mandatory values
521521 | key | value |
522522 | (jq ).ocs .data .action | 2000 |
523523 | (jq ).ocs .data .errors [0 ].message | Invalid code . |
524- And sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_UUID >"
524+ And sending "post" to ocs "/apps/libresign/api/v1/sign/uuid/<SIGN_REQUEST_UUID >"
525525 | method | email |
526526 | token | randomtoken123 |
527527 And the response should have a status code 422
0 commit comments