lib/chop/form.rb in chop-0.28.0 vs lib/chop/form.rb in chop-0.28.1

- old
+ new

@@ -38,12 +38,12 @@ table.diff! actual, surplus_row: false, misplaced_col: false end def self.find_label_for field, session: Capybara.current_session if field[:id].present? - session.first("label[for='#{field[:id]}']", visible: :all) + session.first("label[for='#{field[:id]}']", visible: :all, minimum: 0, wait: 0.1) else - raise "cannot find label without id... yet" + puts "cannot find label without id for #{field[:name]}" end end def fill_in! table.rows_hash.each do |label, value|