add debug output for features/desktop/mentions_from_profile_page.feature:36
This commit is contained in:
parent
e1ed2cacbb
commit
e97da964f4
1 changed files with 6 additions and 1 deletions
|
|
@ -9,7 +9,12 @@ module PublishingCukeHelpers
|
||||||
|
|
||||||
# make sure the other text field got the new contents
|
# make sure the other text field got the new contents
|
||||||
if input_selector == "#status_message_fake_text"
|
if input_selector == "#status_message_fake_text"
|
||||||
|
begin
|
||||||
expect(page).to have_selector("#status_message_text[value='#{status_message_text} #{txt}']", visible: false)
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue