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

27 commits

Author SHA1 Message Date
Thomas Walpole
2c45b43988 Allow link selector to find links with no href attribute when href: nil option specified 2016-12-15 10:59:01 -08:00
Thomas Walpole
b90a93affe Update testing and travis matrix for selenium-webdriver 3.0 release 2016-10-18 00:21:51 -07: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
c5d7089e0e generally prefer ruby 1.9 hash format 2016-10-04 11:10:29 -07:00
Thomas Walpole
9c36e6f53c make locators optional in actions where it makes sense 2016-04-20 12:18:51 -07:00
Thomas Walpole
07e7777425 frozen literal magic comment 2016-03-07 16:52:19 -08:00
Thomas Walpole
d087965f81 improve tests for reliability with fully async driver - selenium w/chromedriver 2015-07-22 14:45:29 -07:00
Yaniv Savir
144ba6cb8b has_link and click_link accept regexp for href value 2015-04-27 20:33:39 -04:00
Thomas Walpole
80bdab5bf7 test and fix for issue #1444 2015-04-14 12:46:00 -07:00
Thomas Walpole
0260f94baf test for issue clicking on <a> tags with javascript: hrefs when using racktest driver 2015-03-16 15:57:04 -07:00
Thomas Walpole
ba37f78692 Update all tests to "expect" format and add support for RSpec 3 usage
Swap from :skip to :capybara_skip since :skip is now used by RSpec 3
Add rspec 3 testing to beta gemfile
2014-04-02 14:33:26 -07:00
Jonas Nicklas
a94dfbc4d0 Raise server errors on visit and synchronize
This should hopefully make them appear earlier and be more helpful.
2014-03-02 15:49:00 +01:00
CJ Kihlbom and Jonas Nicklas
f063375b9b Spec for link :exact option 2013-02-24 16:35:52 +01:00
Andrey Botalov
a3dceaf3c2 Make click_link support :href option 2013-02-19 23:12:54 +03:00
Jonas Nicklas
7e4d3b85f5 Use expect..to instead of the running alias 2012-10-30 14:26:19 +01:00
Jo Liss
b87dad77f7 Fix spec name 2012-09-10 01:55:53 +02:00
Jonas Nicklas
01cb16e32a Allow protocol relative URLs, closes #776 2012-09-06 10:46:54 +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
268b7caf32 Use have_content over body.should include, closes #792
The latter has timing issues in Selenium, since
visit/click_link, etc are async even on regular
page reloads.
2012-08-30 15:59: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
dfc217f005 Add specs for finder error messages 2012-01-02 11:12:28 +01:00
Jonas Nicklas and Nicklas Ramhöj
39eac9af37 Fix paths relative to root path in rack-test, closes #454 2011-08-30 10:54:20 +02:00
Jonas Nicklas
3f688b0723 Handle naked query string, closes #133 2010-10-22 16:45:33 +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
Renamed from spec/dsl/click_link_spec.rb (Browse further)