lib/capybara/spec/session/check_spec.rb in capybara-3.37.1 vs lib/capybara/spec/session/check_spec.rb in capybara-3.38.0

- old
+ new

@@ -237,9 +237,10 @@ end end context 'with allow_label_click options', requires: [:js] do it 'should allow offsets to click location on label' do + Capybara.w3c_click_offset = false expect(@session.find(:checkbox, 'form_cars_lotus', unchecked: true, visible: :hidden)).to be_truthy @session.check('form_cars_lotus', allow_label_click: { x: 90, y: 10 }) @session.click_button('awesome') expect(extract_results(@session)['cars']).to include('lotus') end