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,206 of 197,258
Downloads: 82,316

Daily

Ranking: 41,708 of 197,235
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,820,061,946bundler
81,434,061,178rake
121,363,033,552rack
291,027,618,561rspec
42821,962,435rack-test
55757,493,707rubocop
72639,274,546pry
98507,887,676simplecov
145362,566,434capybara
147359,382,358sinatra
179302,649,561launchy
191289,682,147pry-byebug
1,87418,449,272codeclimate-test-reporter
18,428104,134cadre

Owners

#GravatarHandle
1icondkarter