CJ Kihlbom and Jonas Nicklas
7b54f06283
Add options to select
2013-02-24 17:02:32 +01:00
Jonas Nicklas
cceb6b8af7
Add an option which reverts options to Capy 2.0 behaviour
2013-02-16 10:20:50 +01:00
Jonas Nicklas
7e4d3b85f5
Use expect..to instead of the running
alias
2012-10-30 14:26:19 +01:00
Jonas Nicklas
dd805d639b
Ignore disabled fields and buttons, closes #771
2012-09-09 17:18:03 +02: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
Jonas Nicklas and Nicklas Ramhöj
5935b6c052
Use HaveSelector matchers for more RSpec matchers
2012-06-08 17:07:12 +02:00
Jonas Nicklas and Nicklas Ramhöj
ad833a1e13
Selectors can no longer have custom failure messages
2012-06-08 15:53:25 +02:00
Jonas Nicklas
cc05b1d63b
Raise an error when there are multiple elements found
2012-02-01 13:24:13 +01:00
Adam McCrea
7a383b4251
Add custom selectors to avoid duplication and to
...
centralize finder strategies and failure messages
2012-01-02 11:12:28 +01:00
Adam McCrea
dfc217f005
Add specs for finder error messages
2012-01-02 11:12:28 +01:00
Thomas Walpole
3f53e82ed9
Selenium::WebDriver::Element#select and #toggle are deprecated - replace with click
2011-06-23 11:42:00 -07:00
Rob Holland
55476db4bd
Fix the rack driver to favour option's value attributes over their content.
2010-10-04 21:17:07 +01:00
Jonas Nicklas
c67dceb537
select/unselect do not require a from option
...
This way they can more conveniently be called on
a found element. E.g.:
find('#my_select').select('Some option')
2010-10-03 19:15:40 +02:00
Jonas Nicklas
8d341948fd
select_option/unselect_option are now called on option node
...
This means that we can move the find object into
Capybara::Node instead of Capybara::Driver::Node
which gives us AJAX waiting and preference for
exact matches for free.
2010-08-14 13:43:38 +02:00
Steven Parkes
5cf2b55cca
Add test so that will fail on incorrectly scoped selects
2010-07-01 19:45:02 -07:00
Jonathon Padfield
c6918f307c
Fixed the xpath when selecting an option so that it should match labels with preceding or trailing whitespace.
2010-06-01 13:16:58 +10:00
Jonas Nicklas
cbb42a1da7
XPath escape value in select/unselect under rack-test
2010-04-26 17:23:34 +02: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