I am testing an implementation of filepicker.io in a rails app and in my integration test that I am writing, when I get to the following point:
sleep(5.0)
find_button('#fileUploadDummy').click
I get this error:
Failure/Error: find_button('#fileUploadDummy').click
Capybara::ElementNotFound:
I am watching the browser open and progress to this point before reaching this error. How can I click on this button within the filepicker modal?