Loading features/support/publishing_cuke_helpers.rb +6 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,12 @@ module PublishingCukeHelpers # make sure the other text field got the new contents if input_selector == "#status_message_fake_text" begin expect(page).to have_selector("#status_message_text[value='#{status_message_text} #{txt}']", visible: false) rescue RSpec::Expectations::ExpectationNotMetError puts "Value was instead: #{find('#status_message_text', visible: false).value.inspect}" raise end end end Loading Loading
features/support/publishing_cuke_helpers.rb +6 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,12 @@ module PublishingCukeHelpers # make sure the other text field got the new contents if input_selector == "#status_message_fake_text" begin expect(page).to have_selector("#status_message_text[value='#{status_message_text} #{txt}']", visible: false) rescue RSpec::Expectations::ExpectationNotMetError puts "Value was instead: #{find('#status_message_text', visible: false).value.inspect}" raise end end end Loading