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: 21,076 of 195,762
Downloads: 81,235

Daily

Ranking: 39,648 of 195,747
Downloads: 6

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,629,697,366bundler
81,384,293,602rake
121,323,948,736rack
291,006,320,288rspec
41798,045,486rack-test
57728,179,197rubocop
72623,573,670pry
98489,786,530simplecov
144352,433,362capybara
145352,114,429sinatra
177294,728,676launchy
189283,275,706pry-byebug
1,85918,192,527codeclimate-test-reporter
18,218103,729cadre

Owners

#GravatarHandle
1icondkarter