Maintenance: Browsers get slower and so is our CI browser test stage. Added necessary sleep-s to make it more reliable.

This commit is contained in:
Martin Edenhofer 2020-03-19 09:17:49 +01:00 committed by Thorsten Eckel
parent 33a20f2cf2
commit 706e51d27b
4 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -74,7 +74,7 @@ class AgentTicketEmailSignatureTest < TestCase
],
}
)
sleep 6
sleep 10 # wait until background job is processed
#
# check signature in new ticket

View file

@ -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',

View file

@ -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',