diff --git a/test/browser/agent_ticket_actions_level7_test.rb b/test/browser/agent_ticket_actions_level7_test.rb index d41d9625f..58d55bd14 100644 --- a/test/browser/agent_ticket_actions_level7_test.rb +++ b/test/browser/agent_ticket_actions_level7_test.rb @@ -39,7 +39,7 @@ class AgentTicketActionLevel7Test < TestCase ) # click reply - click( css: '.content.active [data-type="emailReply"]' ) + click(css: '.content.active [data-type="emailReply"]') # check body watch_for( @@ -62,7 +62,7 @@ class AgentTicketActionLevel7Test < TestCase ) # click reply - click( css: '.content.active [data-type="emailReply"]' ) + click(css: '.content.active [data-type="emailReply"]') # check body watch_for( @@ -71,5 +71,12 @@ class AgentTicketActionLevel7Test < TestCase no_quote: true, ) + # check body + ticket_verify( + data: { + body: 'keep me', + }, + ) + end end diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index eb4700f13..2135b76d2 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -413,7 +413,7 @@ class TestCase < Test::Unit::TestCase js: "\$('#{params[:css]}').get(0).scrollIntoView(#{position})", mute_log: params[:mute_log] ) - sleep 0.2 + sleep 0.3 end =begin @@ -1205,7 +1205,7 @@ wait untill text in selector disabppears instance = params[:browser] || @browser (1..100).each do - sleep 0.2 + sleep 0.1 begin if instance.find_elements(css: '.navigation .tasks .task:first-child')[0] instance.mouse.move_to(instance.find_elements(css: '.navigation .tasks .task:first-child')[0])