Commit Graph

1038 Commits

Author SHA1 Message Date
Damian Janowski 39183b031a Limit the amount of error pages open. 2010-04-23 18:57:11 -03:00
Damian Janowski 7cde0573c0 Update changelog. 2010-04-23 13:19:45 -03:00
Luismi Cavalle 43b19eeafa Fix have_xpath not matching negative expectation in the block.
[#182 state:resolved]
2010-04-23 13:17:49 -03:00
Damian Janowski 107bdf7cf9 Update Gemfile to the newest Bundler. 2010-04-23 13:15:30 -03:00
Damian Janowski 71a281066e Update changelog. 2010-04-23 13:09:05 -03:00
Damian Janowski 438e53c295 Fix broken integration test in 1.9.1-p378. 2010-04-22 19:09:45 -03:00
Noah Davis 80ea640901 Fix selenium webrat tests in FF/Safari -- locatedLabel.htmlFor returns empty string in FF/Safari which breaks location strategy for label 2010-04-20 23:46:43 -04:00
Noah Davis 68d5fde17a Move verbose selenium output that can clutter build output behind setting 2010-04-20 11:44:55 -04:00
Damian Janowski 1979a7fc7f Use `htmlFor` on IE.
[#317 state:resolved]
2010-04-15 15:40:03 -03:00
Álvaro Gil 06bb72d24f fix post method in mechanize adapter to handle data as array or hash
it fixes spec/integration/mechanize/sample_app.rb:20
2010-04-13 15:40:24 -03:00
Damian Janowski c49123c772 Fix Mechanize spec. 2010-04-13 13:25:28 -03:00
Damian Janowski 2c9de38129 Add missing spec that shows a regression after e3bcf5. 2010-04-13 12:57:25 -03:00
Damian Janowski 2a6c67b17b Fix delegation of `response_headers` method.
[#332 state:resolved]
2010-04-13 12:04:36 -03:00
Damian Janowski 38e699820f Merge remote branch 'wemrysi/master' into mechanize_redirects
Conflicts:
	lib/webrat/adapters/mechanize.rb
2010-04-13 12:01:22 -03:00
Damian Janowski 4c62279fc1 The WWW namespace is deprecated as of Mechanize 1.0.
[#368 state:resolved]
2010-04-12 23:38:04 -03:00
Damian Janowski deccefa2c3 Some explicit requires of RubyGems are necessary for integration tests.
Should not affect the way Webrat behaves as a library.
2010-04-12 23:30:56 -03:00
Simon Rozet 10c70a37de Get rid of needless require "rubygems" 2010-04-12 22:28:14 -03:00
Damian Janowski 19fc2ccb89 Remove warnings [#372 state:resolved].
On why this is important:
http://eigenclass.org/hiki/ruby-warnings-SEX-and-stds
2010-04-12 22:25:53 -03:00
Larry Marburger fd944cccb5 Webrat::Core::Session#redirect? should not mistake a 304 for a redirect. 2010-04-12 17:52:09 -03:00
Damian Janowski 0bbf163d4f Better stack traces when using class_eval (Alex Chaffee). 2010-04-12 17:45:10 -03:00
Damian Janowski ef6874c855 Allow submitting forms by CSS selectors too.
Priority is given to selecting by ID for backwards compatibility.

Also add pending `submit_form` specs.
2010-04-12 17:35:12 -03:00
Damian Janowski e3bcf5c599 Merge branch 'nested_params_support' 2010-04-12 17:22:54 -03:00
Damian Janowski bd6cd436de Point users in the right direction when selenium is not available. 2010-04-12 16:39:27 -03:00
Álvaro Gil e36487458f test added for nested params files upload 2010-04-09 11:38:33 -03:00
Álvaro Gil c49e23d81d fixes #341 attach_file with nested attributes 2010-04-05 11:31:38 -03:00
Álvaro Gil 15102bd60d !trivial: define and call class methods in From appropriate 2010-04-05 11:07:35 -03:00
Álvaro Gil fa881a88c8 build querystring with all form elements and then parse to get query params
* Basically Field#to_param was replaced for Field#to_query_string and
some methods related to build params were moved to Form class.

Before this commit the params hash was made by parsing each element
querystring to param and then merge, now we build the whole querystring
first and then parse it to get params with Rack or Rails depending of
the configure mode.
2010-04-03 12:07:16 -03:00
Noah Davis 2f12422ae8 New webrat configuration option selenium_firefox_profile which is passed to selenium server 2010-02-26 15:54:31 -05:00
Emrys Ingersoll 67febe9072 Normalize access to response headers in adapters 2010-02-20 17:06:30 -05:00
Emrys Ingersoll 56b2f342da Adding spec for disabling automatic redirects in Mechanize 2010-02-18 19:04:11 -05:00
Emrys Ingersoll b2dddf2f09 Disable the automatic following of redirects in the Mechanize instance so they can be handled by Webrat::Session 2010-02-18 18:33:22 -05:00
lukemelia d9d9cc1fcc Added application_port_for_selenium to webrat configuration. The use case is when you want to test through a web server sitting in front of your application server. 2010-01-18 09:49:44 -05:00
Noah Davis 0387d9eacc Bumping version to prerelease until next official release 2010-01-17 20:48:23 -05:00
Noah Davis d73eca71ee Releasing v 0.7.0 2010-01-17 20:44:20 -05:00
Noah Davis 8d2fa24b4a Added missing dependency "rack-test" to gemspec (LH #339) 2010-01-17 20:42:37 -05:00
Bryan Helmkamp eb3a4ff5d6 Whitespace 2010-01-17 20:35:42 -05:00
hpoydar 4ac8456a48 Replaced selenium standalone jar to fix Snow Leopard + Firefox 3.5 issue 2010-01-17 20:30:55 -05:00
Noah Davis 3159ae081f changelog update 2010-01-17 20:23:48 -05:00
Noah Davis ccaf41160c Save and open page storage directory now defaults to "tmp" under current directory if exists, otherwise current directory 2010-01-17 18:29:35 -05:00
Noah Davis d50d24e09e Documentation fix for application environment 2010-01-17 18:08:40 -05:00
Noah Davis 1874f6d395 Removed save_and_open_page's rewriting of static asset paths before saving (was not actually working) 2010-01-16 19:28:29 -05:00
Noah Davis 71dcfb327d Save and open page directory specified via configuration 2010-01-16 19:18:28 -05:00
Noah Davis db168bedec Make "should contain" ignore extra whitespace when doing string comparisons 2010-01-13 16:47:35 -05:00
lukemelia f9985cd488 Make selenium matchers handle negative match more consistently with positive match 2010-01-05 18:33:45 -05:00
Bryan Helmkamp b64d68a2a8 Bump VERSION to prerelease 2009-11-28 00:24:47 -05:00
Bryan Helmkamp 4081fe5538 Prep for 0.6.0 release 2009-11-28 00:18:58 -05:00
Bryan Helmkamp 3bd7266ab9 Merge branch 'lh_292'
Conflicts:
	History.txt
2009-11-15 16:51:23 -05:00
Bryan Helmkamp a9ff3efcd7 History 2009-11-15 16:50:46 -05:00
Michael Klett 61b0fce828 Base64 encoding of HTTP basic auth credentials should omit newlines (do not enforce a 76 character line limit)
According to RFC 2617 (http://www.ietf.org/rfc/rfc2617.txt), the 76 character line limit normally enforced by Base64 encoding should not apply to the encoding of HTTP basic authentication credentials.
2009-11-15 16:50:40 -05:00
Bryan Helmkamp f9f2a98189 History 2009-11-15 16:50:39 -05:00