Improved browser tests.

This commit is contained in:
Martin Edenhofer 2013-09-18 20:45:32 +02:00
parent a5a3a8070b
commit d8af77c029
3 changed files with 8 additions and 8 deletions

View file

@ -30,8 +30,8 @@ class AgentTicketActionLevel1Test < TestCase
# remember old ticket where we want to merge to
{
:execute => 'match',
:css => '.active .ticket-zoom small',
:value => '^(.*)$',
:css => '.active .ticket_info h3',
:value => '^#(.*)$',
:no_quote => true,
:match_result => true,
},
@ -164,7 +164,7 @@ class AgentTicketActionLevel1Test < TestCase
# check if megred to ticket is shown now
{
:execute => 'match',
:css => '.active .ticket-zoom small',
:css => '.active .ticket_info h3',
:value => '###stack###',
:match_result => true,
},

View file

@ -46,8 +46,8 @@ class AgentTicketActionsLevel2Test < TestCase
{
:where => :instance1,
:execute => 'match',
:css => '.active .ticket-zoom small',
:value => '^(.*)$',
:css => '.active .ticket_info h3',
:value => '^#(.*)$',
:no_quote => true,
:match_result => true,
},

View file

@ -44,10 +44,10 @@ class AgentTicketActionsLevel3Test < TestCase
# remember old ticket where we want to merge to
{
:where => :instance1,
:where => :instance1,
:execute => 'match',
:css => '.active .ticket-zoom small',
:value => '^(.*)$',
:css => '.active .ticket_info h3',
:value => '^#(.*)$',
:no_quote => true,
:match_result => true,
},