Improved browser test.

This commit is contained in:
Martin Edenhofer 2013-06-10 15:33:46 +02:00
parent da25d45db4
commit efde80ded3

View file

@ -27,6 +27,10 @@ class ChatTest < TestCase
:css => '#login', :css => '#login',
:result => false, :result => false,
}, },
{
:execute => 'wait',
:value => 1,
},
{ {
:where => :instance1, :where => :instance1,
:execute => 'click', :execute => 'click',
@ -45,11 +49,20 @@ class ChatTest < TestCase
:execute => 'wait', :execute => 'wait',
:value => 4, :value => 4,
}, },
{
:where => :instance2,
:execute => 'click',
:css => '#chat_toogle',
},
{ {
:where => :instance1, :where => :instance1,
:execute => 'click', :execute => 'click',
:css => '#chat_toogle', :css => '#chat_toogle',
}, },
{
:execute => 'wait',
:value => 1,
},
{ {
:where => :instance1, :where => :instance1,
:execute => 'set', :execute => 'set',