mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Chrome/chromedriver 73 breaks directory upload via attach_file
This commit is contained in:
parent
8f2d50c22f
commit
10cbe0583b
1 changed files with 1 additions and 0 deletions
|
@ -350,6 +350,7 @@ RSpec.shared_examples 'Capybara::Session' do |session, mode|
|
|||
pending "Selenium remote doesn't support transferring a directory" if remote?(session)
|
||||
pending "Headless Chrome doesn't support directory upload - https://bugs.chromium.org/p/chromedriver/issues/detail?id=2521&q=directory%20upload&colspec=ID%20Status%20Pri%20Owner%20Summary" if chrome?(session) && ENV['HEADLESS']
|
||||
pending "IE doesn't support uploading a directory" if ie?(session)
|
||||
pending 'Chrome/chromedriver 73 breaks this' unless chrome_lt?(73, session)
|
||||
|
||||
session.visit('/form')
|
||||
test_file_dir = File.expand_path('./fixtures', File.dirname(__FILE__))
|
||||
|
|
Loading…
Reference in a new issue