Improved tests.

This commit is contained in:
Martin Edenhofer 2013-05-31 13:34:11 +02:00
parent 60ed0a21c9
commit 6d3bc3d227

View file

@ -99,6 +99,11 @@ class AgentTicketActionSimpleTest < TestCase
}, },
# update ticket # update ticket
{
:execute => 'select',
:css => 'select[name="ticket_article_type_id"]',
:value => 'note',
},
{ {
:execute => 'check', :execute => 'check',
:css => 'textarea[name="body"]', :css => 'textarea[name="body"]',
@ -216,6 +221,11 @@ class AgentTicketActionSimpleTest < TestCase
}, },
# update ticket # update ticket
{
:execute => 'select',
:css => 'select[name="ticket_article_type_id"]',
:value => 'note',
},
{ {
:execute => 'check', :execute => 'check',
:css => '.content_permanent.active textarea[name="body"]', :css => '.content_permanent.active textarea[name="body"]',