Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
     Assignee: Sergei Chipiga (schipiga)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1570803

Title:
  complicated wrong logic inside selenium wrapper _execute method

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1570803/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to