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,305 of 198,774
Downloads: 82,974

Daily

Ranking: 11,622 of 198,739
Downloads: 113

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,972,983,480bundler
81,469,998,038rake
121,394,784,494rack
291,043,852,410rspec
42841,921,538rack-test
55779,915,426rubocop
73651,397,154pry
97521,925,948simplecov
144370,544,531capybara
150364,901,972sinatra
181308,918,471launchy
193294,634,978pry-byebug
1,88318,594,764codeclimate-test-reporter
18,594104,449cadre

Owners

#GravatarHandle
1icondkarter