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: - of 0
Downloads: -

Daily

Ranking: - of 0
Downloads: -

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,524,455,789bundler
81,354,615,159rake
121,302,103,629rack
29993,218,487rspec
40783,863,216rack-test
56710,510,158rubocop
72613,447,704pry
97478,892,970simplecov
143347,158,118sinatra
145346,561,110capybara
177289,939,568launchy
186279,155,865pry-byebug
1,85018,017,143codeclimate-test-reporter
18,053103,274cadre

Owners

#GravatarHandle
1icondkarter