Sign in Sign up
rubygems

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.

Activity

Latest release
4y ago
Total releases
9
Cadence
~22 days
Last 12 months
0

Details

License
MIT
First release
Sep 14, 2016
Releases
Version Released
2.0.0 major
1.1.1 patch
1.1.0 minor
1.0.2 patch
1.0.1 patch
0.1.2 patch
1.0.0 major
0.1.0 initial
0.1.1 patch