[QA] Tests timing out when running via Jenkins/SauceLabs
Željko Filipin
zfilipin at wikimedia.org
Wed Nov 20 14:58:05 UTC 2013
On Fri, Nov 15, 2013 at 9:28 PM, Jeff Hall <jhall at wikimedia.org> wrote:
> 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 aftv5_steps.rb<https://github.com/wikimedia/qa-browsertests/blob/master/features/step_definitions/aftv5_steps.rb>
> .
>
> 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)
>
I agree with you that making tests robust[1][2] is more important than
making them fast.
Željko
--
1: http://watirwebdriver.com/waiting/
2: https://github.com/cheezy/page-object/wiki/Ajax-Calls
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20131120/c46c20c2/attachment-0001.html>
More information about the QA
mailing list