Categories: None [Edit]

capybara_error_intel

https://rubygems.org/gems/capybara_error_intel
https://github.com/dkarter/capybara_error_intel
Capybara provides excellent error messages for its built in predicate methods: has_selector?, has_text?, has_title? etc.. but when those are used from Page Objects while exposing predicate methods from the PageObjects themselves the error messages are lost and all we get is "expected true, got false". Including this module into your PageObject by adding "include CapybaraErrorIntel::DSL" after "include Capybara::DSL" will return the heuristic error messages.

Total

Ranking: 20,042 of 187,591
Downloads: 78,586

Daily

Ranking: 14,518 of 187,571
Downloads: 37

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,011,203,451bundler
91,175,841,940rack
101,165,649,814rake
28925,037,502rspec
38708,869,578rack-test
57613,457,880rubocop
73556,238,958pry
98425,235,126simplecov
133320,361,528sinatra
135313,968,174capybara
170263,624,163launchy
175257,032,004pry-byebug
1,75716,943,725codeclimate-test-reporter
17,84894,826cadre

Owners

#GravatarHandle
1icondkarter