From 48dde6e313a163ad1ac48705ad137217a9b91674 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 6 Nov 2015 01:29:51 +0100 Subject: [PATCH] Improved timing. --- test/browser/agent_ticket_overview_level1_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/browser/agent_ticket_overview_level1_test.rb b/test/browser/agent_ticket_overview_level1_test.rb index 82560cda9..a98a6c34d 100644 --- a/test/browser/agent_ticket_overview_level1_test.rb +++ b/test/browser/agent_ticket_overview_level1_test.rb @@ -191,9 +191,8 @@ class AgentTicketOverviewLevel1Test < TestCase priority: '3 high', } ) - sleep 8 - exists_not( + watch_for_disappear( browser: browser2, css: '.active .ticketZoom .ticketZoom-controls .overview-navigator .pagination-counter .pagination-item-current', )