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,564 of 191,606
Downloads: 79,533

Daily

Ranking: 29,391 of 191,571
Downloads: 9

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,305,008,004bundler
81,278,046,683rake
101,252,486,348rack
29965,978,229rspec
39753,315,739rack-test
56671,612,802rubocop
73590,564,233pry
99456,209,390simplecov
138336,549,139sinatra
140333,446,409capybara
178279,319,361launchy
182270,291,435pry-byebug
1,83217,513,643codeclimate-test-reporter
17,679101,973cadre

Owners

#GravatarHandle
1icondkarter