Merge pull request #1365 from medialab-prado/flaky-spec-ballots-hover
Try to avoid intermittent poltergeist error on hover
This commit is contained in:
@@ -517,7 +517,7 @@ feature 'Ballots' do
|
||||
add_to_ballot(bi1)
|
||||
|
||||
within("#budget_investment_#{bi2.id}") do
|
||||
find("div.ballot").hover
|
||||
find("div.ballot").trigger("mouseover")
|
||||
expect(page).to have_content('Price is higher than the available amount left')
|
||||
expect(page).to have_selector('.in-favor a', visible: false)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user