Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

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

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

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

chiefy opened this issue Jul 1, 2013 · 2 comments

Comments

@chiefy
Copy link

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
Copy link
Member

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

@ajoslin
Copy link
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 as completed Jul 27, 2013
codedogfish pushed a commit to codedogfish/angular-ui-bootstrap that referenced this issue Sep 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants