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

11 commits

Author SHA1 Message Date
Thomas Walpole
4a06bb9729 move normalize_ws behavior to node#text methods 2018-08-06 11:38:22 -07:00
Thomas Walpole
24eb7a0702 rubocop driven style cleanup 2018-01-09 16:01:47 -08:00
Thomas Walpole
e68051f6ac Rubocop driven cleanup 2018-01-08 14:39:56 -08:00
Thomas Walpole
8456736c00 Define the return type for actions where not otherwise defined as the element being interacted with 2016-10-10 14:43:40 -07:00
Thomas Walpole
07e7777425 frozen literal magic comment 2016-03-07 16:52:19 -08:00
Andrey Botalov
06c4955e56 Use diffferent queries for searching
* Add assert_text, assert_no_text, assert_title, assert_no_title
* Refactor query resolving
* Improve failure messages for have_text, have_title RSpec matchers (they will be the same as for added assert_* methods)
* Add Simple#inspect
2014-07-01 23:13:45 +03:00
Jonas Nicklas
2697a5bd8c Pass type through to document 2013-02-17 15:28:28 +01:00
molfar
8df6ed16ec Add #title method to Capybara::Node::Document 2013-02-06 21:36:55 +02:00
Scott Cytacki
17224befe7 Fix document#text
It failed if the default selector was css, and failed with selenium with xpath.  Calling find('.') or find('/') in selenium returns a element that causes errors.  It now calls find(:xpath, '/html') which seems to work everywhere.
2011-02-18 16:29:51 -05:00
Jonas Nicklas and Nicklas Ramhöj
d0985f7f78 Add have_content matcher 2011-02-10 17:15:28 +01:00
Jonas Nicklas
d223d542f7 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
Capybara::StringNode)
2010-11-21 14:37:45 +01:00