Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Aug 1, 2012
  1. @joliss

    Make whitespace normalization Unicode-aware. Fixes #767

    joliss committed
    Also move normalize_whitespace and to_regexp into Capybara::Helpers, and
    improve method documentation.
    I'm not adding tests for the helpers. I think they're so simple that we
    really only care whether they work in conjunction with other methods,
    like Node#text.
Commits on Jul 31, 2012
  1. @joliss
Commits on Jul 19, 2012
  1. @joliss

    Accept non-string parameters to has_text, notably nil and numbers

    joliss committed
    This is mostly for compatibility with Capybara 1.1.2.
Commits on Jul 13, 2012
  1. Change order of methods

  2. @nashby
  3. Better implementation of ==

Commits on Jul 12, 2012
Commits on Jul 9, 2012
  1. Should not bang!

Commits on Jun 8, 2012
  1. Move failure message generatio to result class

    Jonas Nicklas and Nicklas Ramhöj committed
  2. We never actually need the options here

    Jonas Nicklas and Nicklas Ramhöj committed
Commits on Mar 24, 2012
  1. @grzuy
Commits on Mar 23, 2012
  1. @grzuy
Commits on Mar 1, 2012
  1. @grzuy
Commits on Feb 1, 2012
Commits on Jan 3, 2012
Commits on Jan 2, 2012
  1. Use custom selectors in matchers

    Adam McCrea committed with Anders Törnqvist and Kim Burgestrand
    This continues the centralization of XPath generation
    and failure messages.
Commits on Nov 15, 2011
  1. Merge branch 'master' of i…

    Jonas Nicklas and Kim Burgestrand committed
    …nto rmontgomery429-master
Commits on Oct 17, 2011
  1. @rmontgomery429

    Fixing has_content?

    rmontgomery429 committed
    * moved the gsub and strip into a function named normalize_whitespace
    * added the call to has_no_content?
  2. @rmontgomery429

    Fixed has_content?

    rmontgomery429 committed
    * use regex 'any one or more whitespace character' instead of simply removing all newline characters as suggested by @jnicklas and @joliss [#521]
Commits on Oct 16, 2011
  1. @mkdynamic
Commits on Oct 15, 2011
  1. @mkdynamic
Commits on Oct 14, 2011
  1. @rmontgomery429

    Fixed has_content?

    rmontgomery429 committed
    * has_content? should ignore any whitespace in the content being compared (the matcher text) so that comparing whitespace sensitive text i.e. content in a <pre> tag will be matched properly.
Commits on Aug 12, 2011
Commits on Mar 25, 2011
Commits on Mar 5, 2011
  1. @kamarcum @joliss
Commits on Jan 17, 2011
Commits on Jan 16, 2011
  1. @dnd
Commits on Dec 31, 2010
  1. @jfirebaugh

    Ensure that matchers work correctly after actions, closes #171

    jfirebaugh committed
    With browser-based drivers, the has_value?, has_select?, and
    has_checked_field? matchers (and their negative counterparts)
    did not always work correctly. It is not possible to determine
    the dynamic state of inputs purely with XPath, because XPath
    has access only to the value, selected, and checked _attributes_,
    and only the corresponding _properties_ change in response to
    user input. This commit replaces the pure XPath implementation
    with one that retrieves all matching inputs and then filters the
    results using driver-specific means that do reflect user input.
Commits on Nov 21, 2010
  1. Move more of node functionality into subfolder

    We have too many top level files, we have multiple
    classes in the same file. This allows us to solve
    both problems, while also providing a good place
    for the new Capybara::Node::Simple (formerly
Commits on Nov 18, 2010
  1. @dnd
Something went wrong with that request. Please try again.