@@ -63,7 +63,7 @@ RSpec.describe 'Login Message', type: :system, authenticated: false do
visit '/'
- wait(5).until do
+ wait(8).until do
pinged_since?(timestamp) && connection_open?
end
@@ -74,7 +74,7 @@ class AgentTicketEmailSignatureTest < TestCase
],
}
)
- sleep 6
+ sleep 10 # wait until background job is processed
#
# check signature in new ticket
@@ -158,6 +158,8 @@ class AgentTicketMacroTest < TestCase
# when we re-enter the Zoom view for a ticket via the overview
tasks_close_all()
+ sleep 8 # to update overview list to open correct/next ticket in overview
+
ticket_open_by_overview(
title: ticket1[:title],
link: '#ticket/view/all_unassigned',
@@ -160,7 +160,7 @@ class AgentTicketUpdate2Test < TestCase
css: '.active div.ticket-article',
value: 'some level 3 <b>body</b> in instance 2',
- sleep 1
+ sleep 2
match_not(
browser: browser1,
css: '.content.active .js-reset',