From cd591ea327bcaca7636eef93411fbdea2fbbcf86 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 25 Jul 2013 20:22:24 +0200 Subject: [PATCH] Improved selectors. --- test/browser/text_module_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/browser/text_module_test.rb b/test/browser/text_module_test.rb index 8d6c75eef..8bd889832 100644 --- a/test/browser/text_module_test.rb +++ b/test/browser/text_module_test.rb @@ -174,12 +174,12 @@ class TextModuleTest < TestCase { :where => :instance2, :execute => 'click', - :css => 'a[href="#new"]', + :css => '.taskbar-new a[href="#new"]', }, { :where => :instance2, :execute => 'click', - :css => 'a[href="#ticket_create/call_inbound"]', + :css => '.taskbar-new a[href="#ticket_create/call_inbound"]', }, { :where => :instance2, @@ -190,12 +190,12 @@ class TextModuleTest < TestCase { :where => :instance2, :execute => 'click', - :css => 'a[href="#new"]', + :css => '.taskbar-new a[href="#new"]', }, { :where => :instance2, :execute => 'click', - :css => 'a[href="#ticket_create/call_outbound"]', + :css => '.taskbar-new a[href="#ticket_create/call_outbound"]', }, { :where => :instance2,