How do you setup protractor with angular in a rail

2020-06-29 04:28发布

问题:

I'm having trouble setting up protractor to run with angular with a rails backend. I currently use rake:jasmine to run unit tests but would like to incorporate e2e testing.

What would be the simplest way to get it up and running?

回答1:

Check that easy and fast guide

http://www.ng-newsletter.com/posts/practical-protractor.html

I hope it helps



回答2:

This gem is pretty straightforward to start testing an angular-rails app https://github.com/tyronewilson/protractor-rails