1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
Commit graph

9 commits

Author SHA1 Message Date
Yann Plancqueel
03884431ae Possibility to use 'textarea' and 'select' as a :type in Rspec matcher have_field() 2013-03-08 10:19:00 +01:00
Jonas Nicklas
c7bf8359f2 Support non string arguments
Most of this work was done in the xpath gem, this
commit really only adds tests.
2012-09-06 09:33:43 +02:00
Jonas Nicklas
2462443f89 Use a custom spec helper instead of shared specs 2012-07-21 16:46:56 -04:00
Gonzalo Rodriguez
77c2f30cb9 Support :type option for #has_field? matcher 2012-03-01 01:22:27 -02:00
Jonas Nicklas
2e5852b5a6 Remove focus thingy 2011-03-25 10:46:16 +00:00
Jonas Nicklas
6920eae19d Added have_link, have_checked_field and have_unchecked_field matchers 2011-03-25 10:35:59 +00:00
John Firebaugh
9d6aebdea8 Ensure that matchers work correctly after actions, closes #171
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.
2010-12-31 11:04:36 -08:00
Bernerd Schaefer
2ec8657308 Fix typo in has_field spec 2010-09-17 20:22:38 -05:00
Jonas Nicklas
cf1aa4d073 Moved shared specs into lib directory
This way, implementations of other drivers can
use the specs to verify that they are working
correctly.
2010-04-09 16:41:35 +02:00
Renamed from spec/dsl/has_field_spec.rb (Browse further)