<div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote">On Fri, Nov 15, 2013 at 9:28 PM, Jeff Hall <span dir="ltr"><<a href="mailto:jhall@wikimedia.org" target="_blank">jhall@wikimedia.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">What I'm wondering is whether or not it might be a good idea to use
the page-object "wait_until" method more widely. For example, we
currently use it in <a href="https://github.com/wikimedia/qa-browsertests/blob/master/features/step_definitions/aftv5_steps.rb" target="_blank">aftv5_steps.rb</a>.<br>
<br>
I realize that adding any type of sleep or wait behavior to a test
just causes overall test execution time to increase, but I'm
thinking it's more important to have fewer failing tests overall, so
that folks can focus their trouble-shooting efforts on test failures
that may be a consequence of actual bugs (and not just timeouts)</div></blockquote></div><br></div></div><div class="gmail_extra">I agree with you that making tests robust[1][2] is more important than making them fast.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Željko</div><div class="gmail_extra">--</div><div class="gmail_extra">1: <a href="http://watirwebdriver.com/waiting/">http://watirwebdriver.com/waiting/</a></div>
<div class="gmail_extra">2: <a href="https://github.com/cheezy/page-object/wiki/Ajax-Calls">https://github.com/cheezy/page-object/wiki/Ajax-Calls</a></div></div>