vmware-archive / projectmonitor

Big Visible Chart CI aggregator
http://ci.pivotallabs.com
BSD 2-Clause "Simplified" License
428 stars 120 forks source link

Fix flakey test by adding assertion that waits for the page load #123

Closed khng closed 6 years ago

khng commented 6 years ago

not_to/to_not have_selector does wait to the page to fully load and causes a race condition. We added another have_selector assertion to ensure that the page is in proper state before proceeding with the rest of the test.