Commit Graph

719 Commits

Author SHA1 Message Date
Bryan Helmkamp 9fd8a9ea82 Remove usage of method_missing in favor of explicit delegators 2008-08-10 15:08:52 -04:00
Bryan Helmkamp 9979a29524 Delegate from Session to Scope instead of Page 2008-07-28 09:59:22 -04:00
Bryan Helmkamp cccc8a34f8 Moving within to Session 2008-07-27 12:48:13 -04:00
Bryan Helmkamp cc56a855cd Refactoring request_page usage 2008-07-27 12:46:36 -04:00
Bryan Helmkamp c64556f489 More specs for within. Move save_and_open functionality to session. 2008-07-27 12:42:02 -04:00
Bryan Helmkamp 88a9a4cd61 Pass block args via method_missing 2008-07-26 12:19:27 -04:00
Bryan Helmkamp 592f70950d Refactor clicks_link_within to use new within functionality 2008-07-26 12:18:51 -04:00
Bryan Helmkamp e746335d47 Add #within method for working within a selector scope 2008-07-26 12:17:00 -04:00
Bryan Helmkamp 4f843d3d01 Refactoring Page into Scope 2008-07-25 20:00:12 -04:00
Bryan Helmkamp 8405c6cfb0 Support &nbsp's as spaces in matching link text (Patch from Luke Melia) 2008-07-25 19:26:59 -04:00
Bryan Helmkamp 2e20267c90 Switch from Mocha to RSpec mocks 2008-07-25 19:11:56 -04:00
Bryan Helmkamp af0ac0933a Coverage bump 2008-07-25 18:57:31 -04:00
Bryan Helmkamp 4fe320aac6 Merge commit 'danbarry/master' 2008-07-25 18:56:57 -04:00
Bryan Helmkamp 2c238902d6 Add spec for finding inputs by alt text 2008-07-25 18:48:53 -04:00
Bryan Helmkamp 0fdd3375c7 Merge commit 'quirkey/master' 2008-07-25 18:46:57 -04:00
Bryan Helmkamp 03308b942f Merge commit 'pd/master' 2008-07-25 17:59:27 -04:00
Bryan Helmkamp c07c6af339 Alias visits as visit, clicks_link as click_link, etc. 2008-07-22 19:08:16 -04:00
Bryan Helmkamp 13a86880e5 Increase coverage threshold 2008-07-20 22:07:16 -04:00
Bryan Helmkamp 01f87b5c3b Merge branch 'master' of git://github.com/ismasan/webrat into ismasan/master 2008-07-20 22:04:15 -04:00
Bryan Helmkamp 9b90fe3c57 Merge branch 'master' of git://github.com/timcharper/webrat into timcharper/master 2008-07-20 21:58:32 -04:00
Bryan Helmkamp 580e6950b6 Don't open blank pages in the browser (Path from Kyle Hargraves) 2008-07-20 21:54:13 -04:00
Dan Barry 130f5a9d1b click link by title 2008-07-18 11:32:41 -05:00
Dan Barry 66a5af0f56 regression test for unlabelled inputs 2008-07-18 11:15:13 -05:00
Dan Barry a9430aa2ce radio buttons can have multiple labels 2008-07-18 11:15:13 -05:00
Gwyn Morfey 9e673539a5 Now you can do clicks_button 'foo_123' (passing button ID, not value) 2008-07-07 15:57:52 +01:00
Luke Melia cfdd66784e Implemented clicks_link_within for selenium session. 2008-06-23 00:37:31 -04:00
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
Kyle Hargraves 17f4dba965 Support specification of content type in attaches_file() 2008-06-05 09:17:53 -05:00
Kyle Hargraves 3b72459298 Support '&' in submitted values 2008-06-05 09:17:39 -05:00
Ismael Celis 2c61102f1b Sorting libraries before require to avoid load order issues on server 2008-06-02 12:50:33 +01:00
Aaron Quint 9a4e43ab0c Added method for matching alt attributes in fields (primarly for clicks_button) 2008-05-27 17:17:49 -04:00
Tim Harper 5ea0db332c added spec to test webrat's ability to recognize image buttons 2008-05-17 12:53:29 -06: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
Gwyn Morfey 20561b0c41 Also find buttons by caption, if no value has been specified. 2008-04-29 12:26:16 +01: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