From 54055bcc5d028bf21a8f59d8e0dc6c910c350924 Mon Sep 17 00:00:00 2001 From: Billy Zhou Date: Mon, 20 Aug 2018 19:53:44 +0800 Subject: [PATCH] Switch to overview_open --- test/browser/agent_ticket_overview_level0_test.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/test/browser/agent_ticket_overview_level0_test.rb b/test/browser/agent_ticket_overview_level0_test.rb index cd7a63b5d..2727f75fd 100644 --- a/test/browser/agent_ticket_overview_level0_test.rb +++ b/test/browser/agent_ticket_overview_level0_test.rb @@ -396,9 +396,8 @@ class AgentTicketOverviewLevel0Test < TestCase } ) - # open Overview menu tab - click( - css: '.js-menu .js-overviewsMenuItem', + overview_open( + link: '#ticket/view/all_unassigned', ) # enable full overviews @@ -406,11 +405,6 @@ class AgentTicketOverviewLevel0Test < TestCase js: '$(".content.active .sidebar").css("display", "block")', ) - # click Unassigned & Open tab - click( - css: '.content.active [href="#ticket/view/all_unassigned"]', - ) - watch_for( css: '.content.active', value: 'overview owner change #2',