-
Notifications
You must be signed in to change notification settings - Fork 90
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
Split test support into two modes #199
Comments
For context, here's my original post on Discuss: If I understand correctly, that other test helper (tentative name:
Is that correct? (We'd have to find a better name for |
FWIW I think it would be easiest to not have a dedicated test helper but instead introduce an option in the existing one: setupAnimationTest(hooks, { waitForAnimations: true }); or something roughly like that |
Any progress on this? We have a test suite that all passes in a normal browser environment, but fails when run in Electron, and it seems to be |
I haven't had time to work on this, unfortunately. |
Does anyone have any idea why |
If anyone else is hitting this issue after scratching their head for a while, this is the solution I came up with. I now use
|
Right now we have
setupAnimationTest
, which is good for when you want to actually assert about animations.We should add a second test setup function for when you just want the animations to not effect your tests at all. It can do the same
runAtSpeed(40)
thatsetupAnimationTest
does by default, but it would also useregisterWaiter
to make Embersettled
wait for transitions to finish, so they never affect what your tests are seeing.The text was updated successfully, but these errors were encountered: