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,913 of 193,317
Downloads: 80,049

Daily

Ranking: 48,964 of 193,287
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,450,220,345bundler
81,333,448,044rake
111,286,394,855rack
29984,201,475rspec
39773,951,113rack-test
56697,647,829rubocop
72606,176,829pry
97471,373,359simplecov
140343,741,328sinatra
142342,367,846capybara
178286,575,177launchy
184276,268,622pry-byebug
1,84517,860,091codeclimate-test-reporter
17,969102,996cadre

Owners

#GravatarHandle
1icondkarter