Fixed url's.

This commit is contained in:
Martin Edenhofer 2014-02-11 03:43:39 +01:00
parent 27b6de5ac1
commit e3f5fbfc2c
4 changed files with 9 additions and 9 deletions

View file

@ -21,7 +21,7 @@ class AgentUserManageTest < TestCase
}, },
{ {
:execute => 'click', :execute => 'click',
:css => 'a[href="#ticket_create/call_inbound"]', :css => 'a[href="#ticket/create/call_inbound"]',
}, },
{ {
:execute => 'click', :execute => 'click',
@ -96,7 +96,7 @@ class AgentUserManageTest < TestCase
}, },
{ {
:execute => 'click', :execute => 'click',
:css => 'a[href="#ticket_create/call_inbound"]', :css => 'a[href="#ticket/create/call_inbound"]',
}, },
{ {
:execute => 'wait', :execute => 'wait',

View file

@ -24,7 +24,7 @@ class TaskbarTaskTest < TestCase
}, },
{ {
:execute => 'click', :execute => 'click',
:css => 'a[href="#ticket_create/call_inbound"]', :css => 'a[href="#ticket/create/call_inbound"]',
}, },
{ {
:execute => 'wait', :execute => 'wait',
@ -105,7 +105,7 @@ class TaskbarTaskTest < TestCase
}, },
{ {
:execute => 'click', :execute => 'click',
:css => 'a[href="#ticket_create/call_inbound"]', :css => 'a[href="#ticket/create/call_inbound"]',
}, },
{ {
:execute => 'wait', :execute => 'wait',
@ -131,7 +131,7 @@ class TaskbarTaskTest < TestCase
}, },
{ {
:execute => 'click', :execute => 'click',
:css => 'a[href="#ticket_create/call_outbound"]', :css => 'a[href="#ticket/create/call_outbound"]',
}, },
{ {
:execute => 'wait', :execute => 'wait',

View file

@ -112,7 +112,7 @@ class TextModuleTest < TestCase
}, },
{ {
:execute => 'click', :execute => 'click',
:css => 'a[href="#ticket_create/call_outbound"]', :css => 'a[href="#ticket/create/call_outbound"]',
}, },
{ {
:execute => 'wait', :execute => 'wait',
@ -179,7 +179,7 @@ class TextModuleTest < TestCase
{ {
:where => :instance2, :where => :instance2,
:execute => 'click', :execute => 'click',
:css => '.taskbar-new a[href="#ticket_create/call_inbound"]', :css => '.taskbar-new a[href="#ticket/create/call_inbound"]',
}, },
{ {
:where => :instance2, :where => :instance2,
@ -195,7 +195,7 @@ class TextModuleTest < TestCase
{ {
:where => :instance2, :where => :instance2,
:execute => 'click', :execute => 'click',
:css => '.taskbar-new a[href="#ticket_create/call_outbound"]', :css => '.taskbar-new a[href="#ticket/create/call_outbound"]',
}, },
{ {
:where => :instance2, :where => :instance2,

View file

@ -259,7 +259,7 @@ class TestCase < Test::Unit::TestCase
return return
elsif action[:execute] == 'create_ticket' elsif action[:execute] == 'create_ticket'
instance.find_element( { :css => 'a[href="#new"]' } ).click instance.find_element( { :css => 'a[href="#new"]' } ).click
instance.find_element( { :css => 'a[href="#ticket_create/call_inbound"]' } ).click instance.find_element( { :css => 'a[href="#ticket/create/call_inbound"]' } ).click
element = instance.find_element( { :css => '.active .ticket_create' } ) element = instance.find_element( { :css => '.active .ticket_create' } )
if !element if !element
assert( false, "(#{test[:name]}) no ticket create screen found!" ) assert( false, "(#{test[:name]}) no ticket create screen found!" )