@@ -70,10 +70,6 @@ Feature: admin/initial_state
7070 | signature_background_type | default |
7171 | signature_font_size | 20 |
7272 | signature_height | 100 |
73- | signature_preview_zoom_level | 100 |
74- | footer_preview_zoom_level | 100 |
75- | footer_preview_width | 595 |
76- | footer_preview_height | 100 |
7773 | signature_engine | JSignPdf |
7874 | signature_render_mode | GRAPHIC_AND_DESCRIPTION |
7975 | signature_width | 350 |
@@ -118,22 +114,6 @@ Feature: admin/initial_state
118114 | (jq )has ("{{ServerSignatureDate }}") | true |
119115 | (jq )has ("{{SignerCommonName }}") | true |
120116 | (jq )has ("{{SignerIP }}") | false |
121- And the response should contain the initial state "libresign-signature_preview_zoom_level" with the following values:
122- """
123- 100
124- """
125- And the response should contain the initial state "libresign-footer_preview_zoom_level" with the following values:
126- """
127- 100
128- """
129- And the response should contain the initial state "libresign-footer_preview_width" with the following values:
130- """
131- 595
132- """
133- And the response should contain the initial state "libresign-footer_preview_height" with the following values:
134- """
135- 100
136- """
137117 And the response should contain the initial state "libresign-footer_template_variables" json that match with:
138118 | key | value |
139119 | (jq ).direction .type | string |
@@ -163,6 +143,9 @@ Feature: admin/initial_state
163143 | (jq ).policies .envelope_enabled .effectiveValue | true |
164144 | (jq ).policies .show_confetti_after_signing .effectiveValue | true |
165145 | (jq ).policies .crl_external_validation_enabled .effectiveValue | true |
146+ | (jq )(.policies .add_footer .effectiveValue \| fromjson ).previewWidth | 595 |
147+ | (jq )(.policies .add_footer .effectiveValue \| fromjson ).previewHeight | 100 |
148+ | (jq )(.policies .add_footer .effectiveValue \| fromjson ).previewZoom | 100 |
166149 | (jq ).policies .tsa_settings .policyKey | tsa_settings |
167150 | (jq ).policies .tsa_settings .sourceScope | system |
168151 | (jq )(.policies .tsa_settings .effectiveValue \| fromjson ).auth_type | none |
@@ -191,10 +174,6 @@ Feature: admin/initial_state
191174 | signature_background_type | deleted |
192175 | signature_font_size | 18 .5 |
193176 | signature_height | 140 |
194- | signature_preview_zoom_level | 125 |
195- | footer_preview_zoom_level | 85 |
196- | footer_preview_width | 610 |
197- | footer_preview_height | 80 |
198177 | signature_engine | PhpNative |
199178 | signature_render_mode | DESCRIPTION_ONLY |
200179 | signature_text_template | Issuer : {{IssuerCommonName }} |
@@ -248,22 +227,6 @@ Feature: admin/initial_state
248227 """
249228 Issuer: Acme Cooperative
250229 """
251- And the response should contain the initial state "libresign-signature_preview_zoom_level" with the following values:
252- """
253- 125
254- """
255- And the response should contain the initial state "libresign-footer_preview_zoom_level" with the following values:
256- """
257- 85
258- """
259- And the response should contain the initial state "libresign-footer_preview_width" with the following values:
260- """
261- 610
262- """
263- And the response should contain the initial state "libresign-footer_preview_height" with the following values:
264- """
265- 80
266- """
267230 And the response should contain the initial state "libresign-footer_template" with the following values:
268231 """
269232 Custom footer for {{ uuid }}
@@ -290,6 +253,9 @@ Feature: admin/initial_state
290253 | (jq ).policies .envelope_enabled .effectiveValue | false |
291254 | (jq ).policies .show_confetti_after_signing .effectiveValue | false |
292255 | (jq ).policies .crl_external_validation_enabled .effectiveValue | false |
256+ | (jq )(.policies .add_footer .effectiveValue \| fromjson ).previewWidth | 610 |
257+ | (jq )(.policies .add_footer .effectiveValue \| fromjson ).previewHeight | 80 |
258+ | (jq )(.policies .add_footer .effectiveValue \| fromjson ).previewZoom | 100 |
293259 | (jq ).policies .tsa_settings .policyKey | tsa_settings |
294260 | (jq ).policies .tsa_settings .sourceScope | global |
295261 | (jq )(.policies .tsa_settings .effectiveValue \| fromjson ).url | https ://tsa .example .test /tsr |
@@ -316,10 +282,6 @@ Feature: admin/initial_state
316282 | signature_background_type | default |
317283 | signature_font_size | 20 |
318284 | signature_height | 100 |
319- | signature_preview_zoom_level | 100 |
320- | footer_preview_zoom_level | 100 |
321- | footer_preview_width | 595 |
322- | footer_preview_height | 100 |
323285 | signature_engine | JSignPdf |
324286 | signature_render_mode | GRAPHIC_AND_DESCRIPTION |
325287 | signature_width | 350 |
0 commit comments