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,252 of 198,025
Downloads: 82,655

Daily

Ranking: 21,630 of 197,989
Downloads: 12

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,895,243,156bundler
81,452,458,801rake
121,378,625,006rack
291,035,635,780rspec
42831,694,249rack-test
55768,777,986rubocop
73645,358,109pry
97514,980,740simplecov
146366,576,839capybara
149362,179,488sinatra
179305,922,619launchy
192292,082,234pry-byebug
1,87718,527,522codeclimate-test-reporter
18,511104,262cadre

Owners

#GravatarHandle
1icondkarter