In integration tests loading a new page interferes with dropdown opening
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Timur Sufiev |
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.
Changed in horizon: | |
status: | New → In Progress |
Changed in horizon: | |
milestone: | none → newton-2 |
Setting to High as the issue is currently the main contributor to intermittent integration test failures.