1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Emulate click on file input when attaching file using Selenium with Chrome and Firefox

This commit is contained in:
Thomas Walpole 2019-08-16 14:21:20 -07:00
parent 2e052792a5
commit ea6486b328
7 changed files with 40 additions and 5 deletions

View file

@ -65,8 +65,6 @@ Capybara::SpecHelper.run_specs TestSessions::RemoteFirefox, FIREFOX_REMOTE_DRIVE
when /#accept_confirm should work with nested modals$/
# skip because this is timing based and hence flaky when set to pending
skip 'Broken in FF 63 - https://bugzilla.mozilla.org/show_bug.cgi?id=1487358' if firefox_gte?(63, @session)
when 'Capybara::Session selenium_firefox_remote #attach_file with a block can upload by clicking the file input'
pending "Geckodriver doesn't allow clicking on file inputs"
end
end