Commit e97da964 authored by Jonne Haß's avatar Jonne Haß

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

parent e1ed2cac
......@@ -9,7 +9,12 @@ module PublishingCukeHelpers
# make sure the other text field got the new contents
if input_selector == "#status_message_fake_text"
expect(page).to have_selector("#status_message_text[value='#{status_message_text} #{txt}']", visible: false)
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment