bug(transition) breaks end-to-end testing w/ Karma #606

Closed
chiefy opened this Issue Jul 1, 2013 · 2 comments

Projects

None yet

3 participants

@chiefy
chiefy commented Jul 1, 2013

I've made a test project that will reproduce the issue.

Basically any ui-boostrap animations cause Karma's navigateTo method to hang until the amimations are stopped or paused. So if you have a beforeEach with navigateTo, your tests will never run (unless you interact). There was a rather large thread over in karma-ng-scenario about this issue.

@pkozlowski-opensource

We should probably solve this by using ng-animate instead of the custom $transition service. But this won't happen overnight...

@ajoslin
Contributor
ajoslin commented Jul 27, 2013

$transition is going away in favor of ngAnimate - this is happening very soon so closing.

@ajoslin ajoslin closed this Jul 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment