Skip to content

Stable integration tests for AngularJS with Capybara - SFP test dependency

License

Notifications You must be signed in to change notification settings

strchives/capybara-angular

 
 

Repository files navigation

Capybara::Angular

Build Status Gem Version

Capybara API that knows how to wait for Angular in end to end specs.

Installation

Add this line to your application's Gemfile:

gem 'capybara-angular'

Usage

Use it as you would use regular Capybara API, however this time, you won't face any race conditions when working with AngularJS applications.

include Capybara::Angular::DSL

Limitations

At the moment it works with AngularJS applications initialized with ng-app.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Stable integration tests for AngularJS with Capybara - SFP test dependency

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 93.4%
  • HTML 3.7%
  • JavaScript 2.9%