improve signature validation

This commit is contained in:
Pete Matsyburka
2025-04-17 22:06:27 +03:00
parent d0259791bf
commit 7964d6e0f0
4 changed files with 34 additions and 7 deletions
+3
View File
@@ -506,6 +506,9 @@ RSpec.describe 'Signing Form', type: :system do
find('#expand_form_button').click
find('span[data-tip="Click to upload"]').click
find('input[type="file"]', visible: false).attach_file(Rails.root.join('spec/fixtures/sample-image.png'))
sleep 0.1
click_button 'Complete'
expect(page).to have_content('Document has been signed!')