From b0b4cfcade13be0750aa123b2ff1cc10c5083972 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 3 Jun 2016 23:42:30 +0200 Subject: [PATCH] Reduced timings because of event based form saving. --- test/browser/agent_ticket_actions_level3_test.rb | 2 -- test/browser/agent_ticket_actions_level4_test.rb | 4 ++-- test/browser/taskbar_task_test.rb | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/test/browser/agent_ticket_actions_level3_test.rb b/test/browser/agent_ticket_actions_level3_test.rb index 3552974f3..15c8a4c7f 100644 --- a/test/browser/agent_ticket_actions_level3_test.rb +++ b/test/browser/agent_ticket_actions_level3_test.rb @@ -103,7 +103,6 @@ class AgentTicketActionsLevel3Test < TestCase }, do_not_submit: true, ) - sleep 6 watch_for( browser: browser1, css: '.content.active .js-reset', @@ -119,7 +118,6 @@ class AgentTicketActionsLevel3Test < TestCase }, do_not_submit: true, ) - sleep 6 watch_for( browser: browser2, css: '.content.active .js-reset', diff --git a/test/browser/agent_ticket_actions_level4_test.rb b/test/browser/agent_ticket_actions_level4_test.rb index 4f0c3afd2..e5185f6d7 100644 --- a/test/browser/agent_ticket_actions_level4_test.rb +++ b/test/browser/agent_ticket_actions_level4_test.rb @@ -22,7 +22,7 @@ class AgentTicketActionLevel4Test < TestCase }, do_not_submit: true, ) - sleep 8 + sleep 6 # check if customer is shown in sidebar match( @@ -93,7 +93,7 @@ class AgentTicketActionLevel4Test < TestCase # reload reload() - sleep 5 + sleep 4 # check task title verify_task( diff --git a/test/browser/taskbar_task_test.rb b/test/browser/taskbar_task_test.rb index 89bffe299..3ceee6cfe 100644 --- a/test/browser/taskbar_task_test.rb +++ b/test/browser/taskbar_task_test.rb @@ -18,7 +18,7 @@ class TaskbarTaskTest < TestCase css: '.active .newTicket input[name="title"]', value: 'some test AAA', ) - sleep 10 + sleep 4 end def test_persistant_task_b @@ -73,7 +73,7 @@ class TaskbarTaskTest < TestCase css: '.active .newTicket [data-name="body"]', value: 'OUTBOUND BODY TEST#1', ) - sleep 10 + sleep 4 logout() sleep 4