RubyGems Navigation menu

capybara_error_intel 1.0.1

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.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 2.0.0 - July 06, 2022 (909.5 KB)
  2. 1.1.1 - September 22, 2019 (909.0 KB)
  3. 1.1.0 - May 14, 2018 (909.0 KB)
  4. 1.0.2 - October 28, 2016 (908.5 KB)
  5. 1.0.1 - October 28, 2016 (908.5 KB)
显示所有版本 (共 9 个)

Runtime 依赖 (2):

capybara ~> 2
rspec ~> 2

Development 依赖 (12):

bundler ~> 1.12
cadre >= 0
launchy ~> 0
pry >= 0
pry-byebug >= 0
rack >= 1.6.4, ~> 1.6
rack-test >= 0.5.4, ~> 0.5
rake ~> 10.0
rubocop >= 0
simplecov >= 0
sinatra >= 1.4.7, ~> 1.4

业主:

作者:

  • Dorian Karter

SHA 256 校验和:

35ba5475781a7318c23664cbdad498b6ebb0874b37a3b6f7651ecb260fa56ee5

下载总量 61,568

这个版本 1,960

许可:

MIT

需要的 Ruby 版本: >= 0

链接: