Commit bd7b017
test(SigningRequirementValidator): add failing test for createSignature without placed elements
When admin sets GRAPHIC_ONLY render mode (canCreateSignature=true), the signer
must draw their signature even if no visual element box was placed on the
document. The previous check required visibleElements.some(...) which returned
false for documents with no placed boxes, silently skipping the drawing prompt.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent ba1df88 commit bd7b017
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
165 | 188 | | |
166 | 189 | | |
167 | 190 | | |
| |||
0 commit comments