Commit Graph

27 Commits

Author SHA1 Message Date
Damian Janowski
a3abe5782c Add spec that shows nested file inputs. 2010-05-14 13:20:07 -03: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
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
Mike Gaffney
0c9944c4d8 Merge commit 'eddd97936'
Conflicts:
	spec/integration/rails/test/integration/webrat_test.rb
2009-06-15 22:40:02 -05:00
Mike Gaffney
f4141f787d [#261 state:awaiting-patch]
added a test that shows that selenium can't click a link with text that has parens in it
2009-06-08 12:08:53 -05:00
Mike Gaffney
f3a12adaa9 whitespace changes 2009-06-04 12:18:31 -05:00
Thomas Jack
2ae14f78b1 expose regexp escape problem in fill_in_test 2009-06-02 17:56:12 -05:00
mike.gaffney
bd1655c8e2 [#257 state:awaiting-patch] here is a test proving the issue 2009-06-02 17:23:12 -05:00
mike.gaffney
2219ab62d3 refactoring buttons to their own controller 2009-06-01 12:25:36 -05:00
mike.gaffney
5430930bac added test for clicking link by title 2009-06-01 12:17:29 -05:00
Matthias Marschall
9b85b6d7e0 added integration tests for all cases of click_button (by id, by html, by value, by alt for buttons and inputs of types image, button and submit) 2009-05-29 17:05:35 -05:00
Mutwin Kraus
eddd979361 Fixed following of internal redirects when using a custom Host header
Webrat didn't properly follow internal redirects when using the Host
  header, this lets Webrat check the Host header before falling back
  to www.example.com as the current_host.
2009-04-24 23:49:11 -07:00
Bryan Helmkamp
03914fd293 Whitespace 2009-04-07 20:30:12 -04:00
Bryan Helmkamp
4769a5f90b Detect infinite redirects and raise a Webrat::InfiniteRedirectError (Daniel Lucraft) 2009-02-08 20:54:00 -05:00
Amos King
0a021059d6 Added to rails test for have_tag 2009-01-23 21:13:52 -06:00
Amos King
0b8e378fb2 change to use rails label tag for test. 2009-01-23 20:56:16 -06:00
Amos King
2c9b546a83 Merge branch 'lh_120_tests_with_selenium' of git@github.com:gaffo/webrat into lh_82
Conflicts:
	spec/integration/rails/test/integration/webrat_test.rb
2009-01-23 15:11:16 -06:00
Bryan Helmkamp
14d114ce1d Ensure the previous pages params aren't passed through redirect 2009-01-19 13:56:22 -05:00
Bryan Helmkamp
6676ae2da9 Adding integration test for field_labeled 2009-01-17 17:13:20 -05:00
Bryan Helmkamp
7a7cb3f002 Support passing an ActiveRecord model to #within when in Rails mode [#68 state:resolved] (Luke Melia) 2009-01-17 13:18:42 -05:00
Amos King
3902573d3e add a link to the rendered text and add a test for clicking it 2009-01-13 22:33:47 -06:00
Josh Knowles
9825aee47e Don't follow external redirects 2009-01-04 23:56:52 -05:00
Josh Knowles
e19b1cc323 Rails and Merb integration tests for following redirects 2008-12-29 23:14:26 -05:00
Bryan Helmkamp
add38820e5 Adding two tests for Rails integration 2008-12-29 01:30:26 -05:00
Bryan Helmkamp
39e0200608 Adding a Rails app for integration testing 2008-12-29 01:11:41 -05:00