Removed not needed checks.

This commit is contained in:
Martin Edenhofer 2014-12-01 22:57:55 +01:00
parent 1d929159ba
commit 26c9115875
3 changed files with 98 additions and 110 deletions

View file

@ -150,12 +150,6 @@ class AaaGettingStartedTest < TestCase
:execute => 'click', :execute => 'click',
:css => '.js-intro .btn--primary', :css => '.js-intro .btn--primary',
}, },
{
:execute => 'watch_for',
:area => 'body',
:value => 'testing',
:timeout => 60,
},
{ {
:execute => 'watch_for', :execute => 'watch_for',
:area => 'body', :area => 'body',
@ -284,11 +278,6 @@ class AaaGettingStartedTest < TestCase
:execute => 'click', :execute => 'click',
:css => '.js-intro .btn--primary', :css => '.js-intro .btn--primary',
}, },
{
:execute => 'watch_for',
:area => 'body',
:value => 'testing',
},
{ {
:execute => 'watch_for', :execute => 'watch_for',
:area => 'body', :area => 'body',
@ -366,11 +355,6 @@ class AaaGettingStartedTest < TestCase
:execute => 'click', :execute => 'click',
:css => '.js-intro .btn--primary', :css => '.js-intro .btn--primary',
}, },
{
:execute => 'watch_for',
:area => '.js-probe',
:value => 'testing',
},
{ {
:execute => 'watch_for', :execute => 'watch_for',
:area => '.js-inbound h2', :area => '.js-inbound h2',

View file

@ -170,7 +170,7 @@ class AgentTicketActionsLevel2Test < TestCase
{ {
:where => :instance1, :where => :instance1,
:execute => 'watch_for', :execute => 'watch_for',
:area => 'body', :area => '.active div.ticket-article',
:value => 'some update 4711', :value => 'some update 4711',
}, },
@ -185,6 +185,10 @@ class AgentTicketActionsLevel2Test < TestCase
:execute => 'verify_ticket_attributes', :execute => 'verify_ticket_attributes',
:body => 'some level 2 <b>body</b> in instance 2', :body => 'some level 2 <b>body</b> in instance 2',
}, },
{
:execute => 'wait',
:value => 2,
},
# reload instances, verify again # reload instances, verify again
{ {