-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch to chrome headless, deflake tests #2056
Conversation
remove HACKHACKPreview: documentation | landing | table |
commentsPreview: documentation | landing | table |
table expected widthPreview: documentation | landing | table |
remove phantomjs dependenciesPreview: documentation | landing | table |
(a suite remain skipped in TableBody)
Utils.times negative numbersPreview: documentation | landing | table |
can you believe it's been so consistently green for so many runs??? |
@adidahiya i'm fairly sure that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work!
also took a stab at fixing test flakes (not entirely successful)
what do you mean by this? are things still flaky after this PR?
(gonna merge anyway to fix develop)
// the next frame, not just to the end of the current frame. | ||
function assertFocus(selector: string | (() => void), done: MochaDone) { | ||
// the behavior being tested relies on requestAnimationFrame. | ||
// to avoid flakiness, use nested setTimeouts to delay execution until the *next* frame. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is still concerning, but at least this PR leaves us in a better state than the repo currently is...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it's definitely a better state. in the course of development, i saw test flakes locally with chrome headless where certain suites would go red for a run. but this hasn't shown itself on circle (greens all the way down), so that's good news.
Fixes #1951
Changes proposed in this pull request: