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,154 of 196,338
Downloads: 81,353

Daily

Ranking: 51,088 of 196,320
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,687,515,579bundler
81,399,913,164rake
121,335,721,386rack
291,013,199,560rspec
41805,417,291rack-test
57737,392,019rubocop
72628,596,604pry
98495,507,544simplecov
144355,629,834capybara
146354,447,713sinatra
177297,217,122launchy
190285,337,889pry-byebug
1,86718,272,909codeclimate-test-reporter
18,289103,872cadre

Owners

#GravatarHandle
1icondkarter