Created
January 12, 2023 20:40
-
-
Save harssh/b86a1d7d29199b4f319cc9a53cb40497 to your computer and use it in GitHub Desktop.
Capybara_attach_file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If someone (like me) finds this later, I was able to achieve this without adding this helper, and instead having capybara attach like so: | |
attach_file(@basic_file, class: 'dz-hidden-input', make_visible: true) | |
Found via Stack Overflow, here: https://stackoverflow.com/questions/16722291/how-to-test-dropzone-js-upload-with-rails-cucumber-and-capybara |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment