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,406 of 189,726
Downloads: 79,280

Daily

Ranking: 72,713 of 189,704
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,201,221,470bundler
91,240,985,080rake
101,227,220,443rack
29952,142,446rspec
38738,819,399rack-test
56652,437,751rubocop
74578,989,449pry
99445,599,556simplecov
136331,477,040sinatra
138327,124,070capybara
176273,805,490launchy
181265,933,100pry-byebug
1,80917,302,635codeclimate-test-reporter
17,577101,311cadre

Owners

#GravatarHandle
1icondkarter