Improved test speed.

This commit is contained in:
Martin Edenhofer 2014-04-06 13:32:57 +02:00
parent af91586bf7
commit 7ea978a513

View file

@ -86,10 +86,9 @@ class AgentTicketActionLevel1Test < TestCase
# check ticket # check ticket
{ {
:execute => 'match', :execute => 'watch_for',
:css => '.content_permanent.active', :area => '.content_permanent.active',
:value => 'some body 123äöü 222', :value => 'some body 123äöü 222',
:match_result => true,
}, },
# update ticket # update ticket
@ -113,14 +112,9 @@ class AgentTicketActionLevel1Test < TestCase
:css => '.content_permanent.active button.submit', :css => '.content_permanent.active button.submit',
}, },
{ {
:execute => 'wait', :execute => 'watch_for',
:value => 5, :area => '.content_permanent.active .ticket-answer',
},
{
:execute => 'match',
:css => '.content_permanent.active .ticket-answer',
:value => 'some body 1234 äöüß 222', :value => 'some body 1234 äöüß 222',
:match_result => true,
}, },
# check if task is shown # check if task is shown