-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
E2E Tests: Intermittent failure in Links tests #22171
Comments
I've seen it too, but I'm not sure what the problem is. Seems to have been introduced by #22108. Unsure how this is relevant to the bold shortcut though. |
I'm starting to think we should revert that PR for the stability of the e2e tests. It shouldn't matter, but it seems like the block toolbar not rendering instantly also triggering some intermittent failures for other navigation tests. Still not sure how this could affect the bold shortcut though. This shortcut is available even without the block toolbar rendered. |
I'm not sure how much we were expecting to benefit from #22108 to know if it makes sense to revert, or how we'd plan to "properly" work around this. I think as we start to make more things asynchronous for the sake of performance, we'll continue to run into issues with end-to-end test stability, where we assume things can run nicely in sequence, biased by our powerful computers. I know in the past @youknowriad has resisted ideas to turn off asynchronous behaviors in testing in order to more accurate emulate how the user feels. I do sort of agree with this, at least from the perspective of: If things fail in tests because they're run "too fast", inevitably someone could encounter this in the real-world as well. But it feels like a problem we're going to continue to run into over time, and it really degrades the confidence in our tests, and probably in the actual quality of the application 😕 |
I fixed it in #22202. I thought there was a racing condition. I solved it by waiting for loading the rich text editor. |
Fixed by #22202. |
Examples:
Error:
cc @ellatrix
The text was updated successfully, but these errors were encountered: