Commit Graph

1009 Commits

Author SHA1 Message Date
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
David Chelimsky 51bdded2ce require 'nokogiri' in rspec-rails include file 2009-11-15 16:50:39 -05:00
Bryan Helmkamp 4de7d64776 History 2009-11-15 16:42:39 -05:00
Bryan Helmkamp 13d513837a Merge remote branch 'dchelimsky/require_nokogiri' into lh_293 2009-11-15 16:41:37 -05:00
Bryan Helmkamp ba95363486 Spec fix: Don't depend on Nokogiri #inspect output 2009-11-15 16:38:09 -05:00
Bryan Helmkamp 672bd583af Whitespace 2009-11-15 16:29:44 -05:00
Bryan Helmkamp 0536360773 History 2009-11-15 16:29:27 -05:00
Jonathan Weiss ea4a52ccf1 add support for Rails 2.3.4 form authenticity tokens 2009-11-15 16:24:56 -05:00
Bryan Helmkamp cbb07306d4 Regenerate gemspec with thor tasks 2009-11-15 16:07:38 -05:00
Bryan Helmkamp 5a05d860ec Use simple Thor tasks for release management instead of Jeweler 2009-11-15 15:49:38 -05:00
Bryan Helmkamp 05af4dd2a0 Switching to Safari until Snow Leopard + Firefox + Selenium is fixed
http://jira.openqa.org/browse/SRC-743
2009-11-13 21:23:27 -05:00
Bryan Helmkamp 7812f25741 Don't blow up if PID doesn't exist at the end 2009-11-13 21:22:41 -05:00
Bryan Helmkamp fcde80f43f Avoid Selenium test bleed by ending with an assertion about the next page 2009-11-13 21:17:41 -05:00
Bryan Helmkamp 1ce72b6912 Ending selenium tests with assertions avoids "test bleed" 2009-11-13 21:10:25 -05:00
Bryan Helmkamp bb282d992e Remove a couple more bogus tests
<input type="button" /> doesn't submit forms
2009-11-13 21:07:21 -05:00
Bryan Helmkamp f6dd24f7c5 Remove bogus integration tests that were passing (sometimes) by coincidence
An element of <button type="button" /> is not supposed to submit a form
2009-11-13 20:57:55 -05:00
Bryan Helmkamp d0cadf8a76 Update file location for Rails 2.3.4 2009-11-13 20:52:14 -05:00
Bryan Helmkamp 1c28425583 Use Bundler for managing dependencies needed to run the tests 2009-11-13 17:41:33 -05:00
David Chelimsky 9a92afedff require 'nokogiri' in rspec-rails include file 2009-09-23 23:04:43 -05:00
Bryan Helmkamp f51b745e89 When a timeout occurs in wait_for, include the HTML from Selenium in the exception 2009-09-22 15:23:49 -04:00
Bryan Helmkamp 8dacd973aa Regenerated gemspec for version 0.6.rc1 2009-09-22 12:44:56 -04:00
Bryan Helmkamp 194d3250cc Prep for 0.6.rc1 release 2009-09-22 12:41:57 -04:00
Bryan Helmkamp b68c6859e8 History 2009-09-22 12:41:41 -04:00
Bryan Helmkamp 87c54dde2e Fix typo in Rakefile 2009-09-19 17:57:35 -04:00
Bryan Helmkamp 042b416092 Whitespace 2009-09-19 17:34:09 -04:00
Bryan Helmkamp 40d7f970e0 Gracefully handle cases where RSpec is not installed in Rakefile 2009-09-19 17:32:42 -04:00
Bryan Helmkamp 03f2023117 Make link location in Selenium more reliable and consistent with non-Selenium 2009-09-18 15:49:06 -04:00
Bryan Helmkamp b51ba029db Fix support for passing in an ActiveRecord model to within (which uses dom_id) LB/BH 2009-09-18 11:28:07 -04:00
Bryan Helmkamp 862471476f Run Selenium tests during spec:integration 2009-09-17 22:13:10 -04:00
Bryan Helmkamp c689166c48 Fix "element.getAttribute is not a function" Selenium errors when filling in fields
The root cause was the locator strategy was naively returning an element that was not a form field, causing Selenium's internals to blow up
2009-09-17 21:32:56 -04:00