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)
Reviewed: https:/ /review. openstack. org/307886 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=ec4fdd8a73c 9c64a2d9fa93048 301465ab8aea9f
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit ec4fdd8a73c9c64 a2d9fa930483014 65ab8aea9f
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: I9c94b8adb04489 c9675644d150191 9af35e5bf99 01940dc2031692d ce07c3e75b)
Closes-Bug: #1570803
(cherry picked from commit 755d07cbdf66b2b