Skip to content

Replace most sleeps with waitForSpinnerDone#7450

Closed
LeeDr wants to merge 3 commits intoelastic:masterfrom
LeeDr:removeSleeps
Closed

Replace most sleeps with waitForSpinnerDone#7450
LeeDr wants to merge 3 commits intoelastic:masterfrom
LeeDr:removeSleeps

Conversation

@LeeDr
Copy link

@LeeDr LeeDr commented Jun 14, 2016

The title sums it up. I think its better to wait for the spinner bar to be hidden before checking the page than to either sleep, or tryForTime multiple times. Waiting for the spinner to be hidden eliminates most of the tryForTime failures but not all. So I've left most of the tryForTime calls as-is.

Oops, I've implemented this on top of my #7442 PR to switch to chrome browser.

@LeeDr LeeDr added the test label Jun 14, 2016
@epixa
Copy link
Contributor

epixa commented Oct 8, 2016

@LeeDr Do you still intend to get this PR over the line?

@LeeDr
Copy link
Author

LeeDr commented Oct 10, 2016

This is really out of date at this point. It's still a good idea, but it might be replaced by a new event that fires when visualizations are finished loading. So I'll close this and take a look at it again later.

@LeeDr LeeDr closed this Oct 10, 2016
@LeeDr LeeDr deleted the removeSleeps branch May 23, 2017 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments