Merge pull request #5446 from svbergerem/append-to-publisher-spec

Improve append to publisher spec
This commit is contained in:
Jonne Haß 2014-12-01 08:03:34 +01:00
commit 4cadc2d51c

View file

@ -8,7 +8,7 @@ module PublishingCukeHelpers
elem.native.send_keys(' ' + txt)
# make sure the other text field got the new contents
expect(find('#status_message_text', visible: false).value).to include(txt)
expect(page).to have_xpath("//input|textarea/.[@id='status_message_text' and contains(@value, '#{txt}')]", visible: false)
end
def upload_file_with_publisher(path)