Fixed url's.
This commit is contained in:
parent
27b6de5ac1
commit
e3f5fbfc2c
4 changed files with 9 additions and 9 deletions
|
@ -21,7 +21,7 @@ class AgentUserManageTest < TestCase
|
|||
},
|
||||
{
|
||||
:execute => 'click',
|
||||
:css => 'a[href="#ticket_create/call_inbound"]',
|
||||
:css => 'a[href="#ticket/create/call_inbound"]',
|
||||
},
|
||||
{
|
||||
:execute => 'click',
|
||||
|
@ -96,7 +96,7 @@ class AgentUserManageTest < TestCase
|
|||
},
|
||||
{
|
||||
:execute => 'click',
|
||||
:css => 'a[href="#ticket_create/call_inbound"]',
|
||||
:css => 'a[href="#ticket/create/call_inbound"]',
|
||||
},
|
||||
{
|
||||
:execute => 'wait',
|
||||
|
|
|
@ -24,7 +24,7 @@ class TaskbarTaskTest < TestCase
|
|||
},
|
||||
{
|
||||
:execute => 'click',
|
||||
:css => 'a[href="#ticket_create/call_inbound"]',
|
||||
:css => 'a[href="#ticket/create/call_inbound"]',
|
||||
},
|
||||
{
|
||||
:execute => 'wait',
|
||||
|
@ -105,7 +105,7 @@ class TaskbarTaskTest < TestCase
|
|||
},
|
||||
{
|
||||
:execute => 'click',
|
||||
:css => 'a[href="#ticket_create/call_inbound"]',
|
||||
:css => 'a[href="#ticket/create/call_inbound"]',
|
||||
},
|
||||
{
|
||||
:execute => 'wait',
|
||||
|
@ -131,7 +131,7 @@ class TaskbarTaskTest < TestCase
|
|||
},
|
||||
{
|
||||
:execute => 'click',
|
||||
:css => 'a[href="#ticket_create/call_outbound"]',
|
||||
:css => 'a[href="#ticket/create/call_outbound"]',
|
||||
},
|
||||
{
|
||||
:execute => 'wait',
|
||||
|
|
|
@ -112,7 +112,7 @@ class TextModuleTest < TestCase
|
|||
},
|
||||
{
|
||||
:execute => 'click',
|
||||
:css => 'a[href="#ticket_create/call_outbound"]',
|
||||
:css => 'a[href="#ticket/create/call_outbound"]',
|
||||
},
|
||||
{
|
||||
:execute => 'wait',
|
||||
|
@ -179,7 +179,7 @@ class TextModuleTest < TestCase
|
|||
{
|
||||
:where => :instance2,
|
||||
:execute => 'click',
|
||||
:css => '.taskbar-new a[href="#ticket_create/call_inbound"]',
|
||||
:css => '.taskbar-new a[href="#ticket/create/call_inbound"]',
|
||||
},
|
||||
{
|
||||
:where => :instance2,
|
||||
|
@ -195,7 +195,7 @@ class TextModuleTest < TestCase
|
|||
{
|
||||
:where => :instance2,
|
||||
:execute => 'click',
|
||||
:css => '.taskbar-new a[href="#ticket_create/call_outbound"]',
|
||||
:css => '.taskbar-new a[href="#ticket/create/call_outbound"]',
|
||||
},
|
||||
{
|
||||
:where => :instance2,
|
||||
|
|
|
@ -259,7 +259,7 @@ class TestCase < Test::Unit::TestCase
|
|||
return
|
||||
elsif action[:execute] == 'create_ticket'
|
||||
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' } )
|
||||
if !element
|
||||
assert( false, "(#{test[:name]}) no ticket create screen found!" )
|
||||
|
|
Loading…
Reference in a new issue