Comment 4 for bug 1570803

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/mitaka)

Reviewed: https://review.openstack.org/307886
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=ec4fdd8a73c9c64a2d9fa93048301465ab8aea9f
Submitter: Jenkins
Branch: stable/mitaka

commit ec4fdd8a73c9c64a2d9fa93048301465ab8aea9f
Author: Sergei Chipiga <email address hidden>
Date: Fri Apr 15 12:35:32 2016 +0300

    Fix longtime tests

    The core problem is in usage `while True:` to wait element,
    but implicit_wait delegates its to browser already.
    Just we need to catch StaleElement exception, reload
    chain of element parents and then to execute command again.

    Change-Id: I9c94b8adb04489c9675644d1501919af35e5bf99
    Closes-Bug: #1570803
    (cherry picked from commit 755d07cbdf66b2b01940dc2031692dce07c3e75b)