diff --git a/test/browser/agent_ticket_actions_level2_test.rb b/test/browser/agent_ticket_actions_level2_test.rb index 2b4096fa1..ad2fb597f 100644 --- a/test/browser/agent_ticket_actions_level2_test.rb +++ b/test/browser/agent_ticket_actions_level2_test.rb @@ -69,34 +69,6 @@ class AgentTicketActionsLevel2Test < TestCase :link => '###stack###', # :css => 'a:contains(\'###stack###\')', }, - { - :execute => 'wait', - :value => 1, - }, - { - :where => :instance2, - :execute => 'js', - :value => '$("#global-search").val("")', - }, - { - :where => :instance2, - :execute => 'js', - :value => '$("#global-search").focus()', - }, - { - :execute => 'wait', - :value => 1, - }, - { - :where => :instance2, - :execute => 'js', - :value => '$("#global-search").blur()', - }, - { - :where => :instance2, - :execute => 'js', - :value => '$("#global-search").parent().parent().removeClass("open")', - }, { :execute => 'wait', :value => 3, diff --git a/test/browser/agent_ticket_actions_level3_test.rb b/test/browser/agent_ticket_actions_level3_test.rb index 572c82777..d5527211f 100644 --- a/test/browser/agent_ticket_actions_level3_test.rb +++ b/test/browser/agent_ticket_actions_level3_test.rb @@ -53,6 +53,10 @@ class AgentTicketActionsLevel3Test < TestCase }, # open ticket in second browser + { + :execute => 'wait', + :value => 1, + }, { :where => :instance2, :execute => 'set', @@ -69,34 +73,6 @@ class AgentTicketActionsLevel3Test < TestCase :link => '###stack###', # :css => 'a:contains(\'###stack###\')', }, - { - :execute => 'wait', - :value => 1, - }, - { - :where => :instance2, - :execute => 'js', - :value => '$("#global-search").val("")', - }, - { - :where => :instance2, - :execute => 'js', - :value => '$("#global-search").focus()', - }, - { - :execute => 'wait', - :value => 1, - }, - { - :where => :instance2, - :execute => 'js', - :value => '$("#global-search").blur()', - }, - { - :where => :instance2, - :execute => 'js', - :value => '$("#global-search").parent().parent().removeClass("open")', - }, { :execute => 'wait', :value => 3,