Reviewed: https://review.openstack.org/330203 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=fe04af039f369bfeb71ca2c51301dde5711ca20b Submitter: Jenkins Branch: master
commit fe04af039f369bfeb71ca2c51301dde5711ca20b Author: Timur Sufiev <tsuf...@mirantis.com> Date: Wed Jun 15 23:44:50 2016 +0300 Fix dropdowns sometimes not opening in integration tests Since most probable cause of dropdowns not opening intermittently is Bootstrap initialization code not having enough time to complete before test tries to open dropdown, make test wait a specified timeout before clicking it (by means of setting a CSS class after that timeout, which test in turn waits before clicking the dropdown). Closes-Bug: #1594926 Change-Id: I32625caa4433f4af0de72c94b61e85ab4e16b1f9 ** Changed in: horizon Status: In Progress => Fix Released -- 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/1594926 Title: In integration tests loading a new page interferes with dropdown opening Status in OpenStack Dashboard (Horizon): Fix Released Bug description: The following scenario has been seen many times in failed integration tests: all test actions are completed successfully, then test cleanup method goes to home page, and tries to log out - which fails, because the test clicks User dropdown menu (in upper right corner) too quickly, before the dropdown constructors have been finished by bootstrap JS - so the dropdown which contains Log Out link never opens. This sometimes happens not only with log out link (if that was true, we could simply workaround it), but for some other dropdowns as well, but the failure rate with other dropdowns is lower - simply because they operated less frequently than Log Out link (which is present in every test). The desired solution here is to wait until dropdowns become truly clickable. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1594926/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp