Maintenance: Stabilize capybara test.

This commit is contained in:
Bola Ahmed Buari 2022-02-18 19:38:03 +01:00 committed by Martin Gruner
parent f3c6741143
commit 792a858bb3

View file

@ -1427,6 +1427,7 @@ RSpec.describe 'Ticket zoom', type: :system do
ticket.update(pending_time: 1.day.from_now, state: Ticket::State.lookup(name: 'pending reminder'))
visit "ticket/zoom/#{ticket.id}"
sleep 3 # wait for popover killer to pass
end
let(:ticket) { Ticket.first }