@@ -17,7 +17,7 @@ Feature: Custom message for signers
1717 When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
1818 | file | {"url ":"<BASE_URL >/apps /libresign /develop /pdf "} |
1919 | name | Document without custom message |
20- | signers | [{"identify ":{" account ":"signer1 "}}] |
20+ | signers | [{"identifyMethods ":[{" method ":" account "," value " :"signer1 "}] }] |
2121 Then the response should have a status code 200
2222 And there should be 1 emails in my inbox
2323 When I open the latest email to "signer1@test.com" with subject "LibreSign: There is a file for you to sign"
@@ -27,7 +27,7 @@ Feature: Custom message for signers
2727 When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
2828 | file | {"url ":"<BASE_URL >/apps /libresign /develop /pdf "} |
2929 | name | Document with custom message |
30- | signers | [{"identify ":{" account ":"signer1 "},"description ":"Please review section 3 and the appendix before signing ."}] |
30+ | signers | [{"identifyMethods ":[{" method ":" account "," value " :"signer1 "}] ,"description ":"Please review section 3 and the appendix before signing ."}] |
3131 Then the response should have a status code 200
3232 And there should be 1 emails in my inbox
3333 When I open the latest email to "signer1@test.com" with subject "LibreSign: There is a file for you to sign"
@@ -38,14 +38,14 @@ Feature: Custom message for signers
3838 When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
3939 | file | {"url ":"<BASE_URL >/apps /libresign /develop /pdf "} |
4040 | name | Document for email method |
41- | signers | [{"identify ":{" email ":"external @domain .test "},"displayName ":"External Signer "}] |
41+ | signers | [{"identifyMethods ":[{" method ":" email "," value " :"external @domain .test "}] ,"displayName ":"External Signer "}] |
4242 Then the response should have a status code 200
4343
4444 Scenario : Email method - custom description via reminder
4545 Given sending "post" to ocs "/apps/libresign/api/v1/request-signature"
4646 | file | {"url ":"<BASE_URL >/apps /libresign /develop /pdf "} |
4747 | name | Document for email with description |
48- | signers | [{"identify ":{" email ":"external @domain .test "},"displayName ":"External Signer ","description ":"Urgent : Please sign by end of day ."}] |
48+ | signers | [{"identifyMethods ":[{" method ":" email "," value " :"external @domain .test "}] ,"displayName ":"External Signer ","description ":"Urgent : Please sign by end of day ."}] |
4949 And the response should have a status code 200
5050 And fetch field "(FILE_ID)ocs.data.id" from previous JSON response
5151 And fetch field "(SIGN_REQUEST_ID)ocs.data.signers.0.signRequestId" from previous JSON response
0 commit comments