Commit 8ba0cb0c authored by Jonne Haß's avatar Jonne Haß

Revert "Fix flaky mentioning cukes"

This reverts commit 18110288.
parent 18110288
......@@ -4,13 +4,11 @@ module PublishingCukeHelpers
end
def append_to_publisher(txt, input_selector='#status_message_fake_text')
status_message_text = find("#status_message_text", visible: false).value
find(input_selector).native.send_key(" #{txt}")
elem = find(input_selector)
elem.native.send_keys(' ' + txt)
# 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)
end
expect(find("#status_message_text", visible: false)).to have_value txt
end
def upload_file_with_publisher(path)
......
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