Reviewed: https://review.openstack.org/306325 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=755d07cbdf66b2b01940dc2031692dce07c3e75b Submitter: Jenkins Branch: master
commit 755d07cbdf66b2b01940dc2031692dce07c3e75b 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
Reviewed: https:/ /review. openstack. org/306325 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=755d07cbdf6 6b2b01940dc2031 692dce07c3e75b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 755d07cbdf66b2b 01940dc2031692d ce07c3e75b
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
Closes-Bug: #1570803