Improve append to publisher spec
This commit is contained in:
parent
4f8cf0fe07
commit
8275e6ba54
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue