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,066 of 187,239
Downloads: 77,783

Daily

Ranking: 21,618 of 187,224
Downloads: 20

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,973,208,875bundler
91,164,694,982rack
101,151,901,046rake
27919,404,019rspec
37701,664,031rack-test
57604,440,374rubocop
73551,545,498pry
99421,205,239simplecov
132318,128,948sinatra
135310,164,446capybara
170261,512,779launchy
173255,185,948pry-byebug
1,75316,882,773codeclimate-test-reporter
17,79294,581cadre

Owners

#GravatarHandle
1icondkarter