Commit Graph

23 Commits

Author SHA1 Message Date
Thomas Walpole 2c4a20f1e8 Selenium with chrome can do multiple file upload 2016-10-18 12:05:25 -07:00
Thomas Walpole c5d7089e0e generally prefer ruby 1.9 hash format 2016-10-04 11:10:29 -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
Thomas Walpole 0dc5c073ba fix test for fully async driver (selenium w/chromedriver) 2015-07-22 14:43:07 -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
Thomas Walpole d1ec92ff16 Add selenium with chrome to the travis test suite 2013-11-15 13:45:50 -08:00
Thomas Walpole 3dca5b7dce fix test for changed session mode 2013-11-15 09:55:06 -08:00
Jonas Nicklas and Kim Burgestrand f2094fa1d6 Make sure multiple empty files are sent as nil, and not the empty string
Disproves #1108
2013-07-02 17:18:15 +02:00
CJ Kihlbom and Jonas Nicklas 386ed68fe6 Add options to attach_file 2013-02-24 17:06:01 +01:00
Jonas Nicklas 7e4d3b85f5 Use expect..to instead of the `running` alias 2012-10-30 14:26:19 +01:00
Jarl Friis 3e2d7c2114 Support for multiple file upload.
Squashed commit of the following:

commit fb88141863
Author: Jarl Friis <jarl@softace.dk>
Date:   Mon Sep 3 22:06:07 2012 +0200

    Improved implementation. Removing need for YAML. Extending the driver API to take an Array when 'multiple' attribute is present.

commit 977f1c50c2
Author: Jarl Friis <jarl@softace.dk>
Date:   Mon Sep 3 11:56:04 2012 +0200

    Changing decision criteria to support 1.8.7

commit b217deef4a
Author: Jarl Friis <jarl@softace.dk>
Date:   Mon Sep 3 10:38:16 2012 +0200

    Support for 'multiple' attribute in input tags, see https://github.com/jnicklas/capybara/issues/778

commit 155b9fcf79
Author: Jarl Friis <jarl@softace.dk>
Date:   Mon Sep 3 10:33:00 2012 +0200

    Test that demonstrates lack of support for 'multiple' attribute in input tags, see https://github.com/jnicklas/capybara/issues/778

Conflicts:

	lib/capybara/node/actions.rb
	lib/capybara/selenium/node.rb
	lib/capybara/spec/session/attach_file_spec.rb
2012-09-17 20:04:00 +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 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
Jonas Nicklas ef3a4d6c25 Raise error when attaching file that doesn' exist. 2011-04-11 09:09:54 +01:00
Philip Arndt 4cfe882c98 Turns out we don't have to exclude @multiple after all but merely @type='file'. Now includes specs that pass with this change and fail without it. 2010-11-11 11:43:58 +13: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/attach_file_spec.rb (Browse further)