Capybara API that knows how to wait for Angular in end to end specs.
Add this line to your application's Gemfile:
Use it as you would use regular Capybara API, however this time, you won't face any race conditions when working with AngularJS applications.
At the moment it works with AngularJS applications initialized with
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request