-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] FindReplace tests fail when run as part of the unit test suite #4693
Comments
Comment by jasonsanjose cc I found that the test The reason it was never removed from the DOM is because I'm not sure how these tests are passing on the build machine at all. That's just weird. Anyhow, just dropping in |
Comment by njx It's weird because I haven't seen that test fail when running the whole suite. But the cause you mentioned makes sense. Assigning to me. |
Comment by njx Ah, I can see some failures if I run every test (not just the ones in the "Unit" list), although I only see 3. I don't understand why it doesn't always fail. |
Comment by njx Aha! It turns out that (1) (As an aside, it seems like our focus event in Brackets doesn't have the transition, so we get "lucky" that we don't accidentally respond to a transitionEnd event. The lesson is probably that we should always be checking the target of a transitionEnd to make sure it's the thing we think is transitioning.) Haven't figured out the best way to fix this yet. We've had at least one other case where not having the "real" CSS when running tests has bitten us (in that case, it was that we had a class where Bootstrap set it to display: block when we set it to display: none). In general, in cases where CSS has real effects on the functionality that we test for (e.g. whether something is visible or not, or when functionality depends on a transition), we're susceptible to this issue. |
Comment by njx Adding to this sprint. |
Comment by redmunds Is the problem related to the undesired transitions after clicking "Yes" or "No" buttons? If so, then maybe fixing adobe/brackets#5168 will also fix the bugs. |
Comment by njx No, it's an issue with any transition, not just those. |
Comment by redmunds Not sure when |
Issue by dangoor
Friday Sep 06, 2013 at 14:21 GMT
Originally opened as adobe/brackets#5094
On my Mac, I see a consistent failure of 11 FindReplace unit tests only when the whole unit test suite is run. If FindReplace is run by itself, the tests all pass.
The text was updated successfully, but these errors were encountered: