Can you please suggest me, how to use this script, what you have written
here.
I mean where to put this? I copied as it is in my describe block before any
of the test case (it block), and I see syntax errors in this.
On Thursday, November 14, 2013 2:06:20 AM UTC+11, OpenNota wrote:
>
> I've found one way to disable angular animations in E2E tests:
>
> browser.driver.executeScript "
>> var $injector =
>> angular.element(document.documentElement).data('$injector');
>> var $animate = $injector.get('$animate');
>> $animate.enabled(false);
>> "
>
>
> Is there a more elegant solution?
>
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.