Activity log for bug #1570803

Date Who What changed Old value New value Message
2016-04-15 11:10:21 Sergei Chipiga bug added bug
2016-04-15 11:11:45 OpenStack Infra horizon: status New In Progress
2016-04-15 11:11:45 OpenStack Infra horizon: assignee Sergei Chipiga (schipiga)
2016-04-15 11:46:48 Timur Sufiev description I found that method _execute inside horizon/tests/webdriver.py has complicated and wrong logic, that in race condition leads to long tests, for example we have tests with 10 min duration. 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. I found that method _execute inside horizon/tests/webdriver.py has complicated and wrong logic, that in race condition leads to long tests, for example we have tests with 10 min duration. The core problem is that `while True` is used to wait for an element, but `implicit_wait` delegates this to browser already. We need just to catch StaleElementRereferenceException, reload the chain of element's parents and then execute a command again.
2016-04-15 11:46:53 Timur Sufiev horizon: milestone newton-1
2016-04-15 11:46:58 Timur Sufiev horizon: importance Undecided High
2016-04-15 17:26:41 OpenStack Infra horizon: status In Progress Fix Released
2016-05-13 05:14:31 OpenStack Infra tags in-stable-mitaka