Improved selectors.

This commit is contained in:
Martin Edenhofer 2014-12-02 23:20:53 +01:00
parent d71d47255b
commit 04a6900bbe

View file

@ -22,7 +22,7 @@ class AgentTicketActionLevel1Test < TestCase
# check ticket
{
:execute => 'match',
:css => '.active div.ticket-article',
:css => '.content.active .ticket-article',
:value => 'some body 123äöü',
:match_result => true,
},
@ -30,7 +30,7 @@ class AgentTicketActionLevel1Test < TestCase
# remember old ticket where we want to merge to
{
:execute => 'match',
:css => '.active .page-header .ticket-number',
:css => '.content.active .page-header .ticket-number',
:value => '^(.*)$',
:no_quote => true,
:match_result => true,
@ -56,7 +56,7 @@ class AgentTicketActionLevel1Test < TestCase
},
{
:execute => 'watch_for',
:area => 'body',
:area => '.content.active .ticket-article',
:value => 'some body 1234 äöüß',
},
{
@ -80,7 +80,7 @@ class AgentTicketActionLevel1Test < TestCase
# check ticket
{
:execute => 'watch_for',
:area => '.content.active',
:area => '.content.active .ticket-article',
:value => 'some body 123äöü 222 - test to merge',
},
@ -100,7 +100,7 @@ class AgentTicketActionLevel1Test < TestCase
},
{
:execute => 'watch_for',
:area => '.content.active .ticket-edit',
:area => '.content.active .ticket-article',
:value => 'some body 1234 äöüß 333',
},