Try to fix poltergeist error in spec

This commit is contained in:
Amaia Castro
2017-01-10 17:56:35 +01:00
parent 4f539b374f
commit 329b288c01

View File

@@ -155,7 +155,7 @@ feature 'Legislation Draft Versions' do
first(:css, ".annotator-hl").click
expect(page).to have_content "my annotation"
all(".annotator-hl")[1].click
all(".annotator-hl")[1].trigger('click')
expect(page).to have_content "my other annotation"
end
end