Improved tests.

This commit is contained in:
Martin Edenhofer 2013-05-31 13:34:11 +02:00
parent 6f278fa8f7
commit 903b5a158d

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"]',