Commit Graph

71 Commits

Author SHA1 Message Date
Bryan Helmkamp 6074ec3e35 Add support for disabling JavaScript when clicking a link to enable testing of both JS and non-JS implementations LM/BH 2008-06-20 11:22:41 -04:00
Bryan Helmkamp 856b6cb17e Merge branch 'master' of git@github.com:brynary/webrat 2008-06-20 11:09:56 -04:00
Luke Melia 7d94c16ac8 Added options to selenium session methods to better handle ajax operations. For example: clicks_link('Foo', :wait => :ajax). I'd love to figure out
how to infer whether a click results in ajax vs. dom manipulation vs. page load, but we'll start with this.
2008-06-18 23:57:56 -04:00
Luke Melia 7a5fbeef7f Spiked a Selenium session type for webrat. 2008-06-16 01:11:02 -04:00
Bryan Helmkamp e6aff6d37c Remove references to RAILS_ROOT from Webrat core 2008-05-12 00:58:24 -04:00
Bryan Helmkamp 22048b5494 Merge branch 'master' of git@github.com:brynary/webrat
Conflicts:

	Rakefile
	lib/webrat/core/page.rb
2008-05-12 00:48:01 -04:00
Bryan Helmkamp 5bb3026daf Basic spike of WWW:Mechanize support 2008-05-12 00:42:43 -04:00
Bryan Helmkamp cf6b9d26c0 Start isolating Rails-specific webrat components to prepare for additional modes (Merb and WWW::Mechanize) 2008-05-11 23:58:20 -04:00
Luke Melia 3bc2af2c14 save_and_open_page rewrites css and image references to provide a friendlier debugging experience 2008-05-04 23:44:00 -04:00
Bryan Helmkamp c7765a1e6c Merge branch 'master' of git@github.com:brynary/webrat 2008-05-04 14:07:04 -04:00
Luke Melia 73d3b72108 Added prelimary support for fully qualified links starting with http:// or https://. Restored missing commits(???) 2008-05-04 04:15:36 -04:00
Josh Knowles b3bc544c1c WTF. Hoe requires README to be named README.txt. Sorry markdown, will try another night. 2008-04-28 21:59:56 -04:00
Josh Knowles ddf48b31fa Renamed README to get Markdown highlighting in github 2008-04-28 21:44:38 -04:00
Bryan Helmkamp c0bf742ed8 Update Manifest 2008-04-28 05:18:59 -04:00
Bryan Helmkamp c2ec08d8a0 Attribution and rcov percentage bump 2008-04-28 05:01:34 -04:00
Kyle Hargraves ce4dc1cd47 Add attaches_file method
Note that file submissions in integration tests are only supported
on edge rails after revision 8978. Rick DeNatale has backported
support to 2.0.2; see his blog entry at:

http://talklikeaduck.denhaven2.com/articles/2008/04/18/rails-integration-test-file-upload-plugin
2008-04-28 05:00:08 -04:00
Bryan Helmkamp 7a091da5ad Setup rake to run specs by default and verify RCov coverage 2008-04-28 04:57:46 -04:00
Bryan Helmkamp ccc3c189a6 Renamed README.markdown back to README.txt to make hoe happy. ::sigh:: 2008-04-28 04:49:04 -04:00
Kyle Hargraves 8e2419f7d3 Pretty specdoc strings
Thank you, vim.
2008-04-28 04:42:15 -04:00
Bryan Helmkamp 72bd79dc70 Convert README to Markdown syntax. Copy edits 2008-04-28 04:37:10 -04:00
Bryan Helmkamp f23193bea0 Add spec suite to replace test suite 2008-04-23 10:54:46 -04:00
Bryan Helmkamp 2ef317f2cf Attribution 2008-04-17 12:55:46 -04:00
Nick e6486b640b Add support for 'button' elements in forms, and selecting
them by inner text
2008-04-17 11:31:40 -05:00
Bryan Helmkamp 13b0ec75f4 Attribution for previous patch 2008-04-13 21:11:57 -04:00
Joe Van Dyk f9ff509f02 Fix bug with empty select list 2008-04-13 16:02:35 -07:00
Bryan Helmkamp 275611a0a3 Fix bug that causes explosions when there is a file field on the page 2008-04-13 18:03:56 -04:00
Bryan Helmkamp 06c7552f01 Merge branch 'select-by-regexp' of git://github.com/pd/webrat into pd/select-by-regexp 2008-04-13 17:41:57 -04:00
Bryan Helmkamp e5630a5f43 Merge branch 'relative-links' of git://github.com/pd/webrat into pd/relative-links 2008-04-13 17:39:31 -04:00
Kyle Hargraves 32dc36592b Support relative links, including href="?foo=bar" 2008-04-12 18:20:43 -05:00
Kyle Hargraves c2ace0efad Restore clicks_link_within() 2008-04-12 17:45:17 -05:00
Kyle Hargraves 2fee0ddb0e Ability to select options by regexp 2008-04-12 17:44:56 -05:00
Bryan Helmkamp 7ab6dd720f Restore behavior where we don't require select names (for now) 2008-04-07 22:26:24 -04:00
Bryan Helmkamp a99d785ea0 Fix button matching regexp 2008-04-07 22:07:50 -04:00
Bryan Helmkamp 118cf0340a Fix some bugs uncovered when running the weplay scenarios 2008-04-07 20:35:06 -04:00
Bryan Helmkamp d492c4fb90 Add save_and_open_page 2008-04-07 19:29:45 -04:00
Bryan Helmkamp aff769c4e7 Make fills_in work with passwords 2008-04-07 19:19:30 -04:00
Bryan Helmkamp 6165e132b6 Update manifest 2008-04-07 19:17:55 -04:00
Bryan Helmkamp 7afa0f0561 All tests passing now. Yay! 2008-04-07 18:48:45 +01:00
Bryan Helmkamp effc446daf Combined field files. Dynamically figure out field classes 2008-04-07 06:03:31 +01:00
Bryan Helmkamp f38ed15704 More work on OOP implementation 2008-04-07 05:52:49 +01:00
Bryan Helmkamp 857b46fe3e In progress OOP refactoring 2008-04-05 17:49:18 +01:00
Bryan Helmkamp 9adf2193d2 Use modules for webrat extension 2008-04-04 17:12:46 +01:00
Bryan Helmkamp a0ea353e42 Bump version for eventual next release 2008-04-04 16:17:28 +01:00
Bryan Helmkamp 4729b9a20a Fix regression of not sending default values in password fields 2008-04-04 16:16:54 +01:00
Bryan Helmkamp 8227a6764f Update install instructions 2008-04-04 15:44:50 +01:00
Bryan Helmkamp ba50c1f1f4 Split History file by change type 2008-04-04 15:38:55 +01:00
Bryan Helmkamp beee36c291 Add URLs. Fix description and URL for hoe 2008-04-04 15:33:34 +01:00
Bryan Helmkamp 0976b1a18b Bump revision in preparation for release 2008-04-04 15:25:52 +01:00
Bryan Helmkamp c4ebef0b33 Add dependency on hpricot 2008-04-04 15:24:11 +01:00
Bryan Helmkamp e343417c5f Ignore ri 2008-04-04 15:20:37 +01:00