Unverified Commit e97da964 authored by Jonne Haß's avatar Jonne Haß
Browse files

add debug output for features/desktop/mentions_from_profile_page.feature:36

parent e1ed2cac
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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