Commit Graph

656 Commits

Author SHA1 Message Date
Bryan Helmkamp
d7eec20950 Extract FieldNamedLocator object 2008-11-29 01:58:27 -05:00
Bryan Helmkamp
eb95f6cf09 Refactoring locators 2008-11-29 01:54:49 -05:00
Bryan Helmkamp
04959ae457 Extract FieldByIdLocator object 2008-11-29 01:51:18 -05:00
Bryan Helmkamp
9e030a1b05 Extracting AreaLocator object 2008-11-29 01:48:16 -05:00
Bryan Helmkamp
2e69cb1911 Removing comments 2008-11-29 01:45:03 -05:00
Bryan Helmkamp
5b8a15bae7 Using elements to locate links 2008-11-29 01:44:20 -05:00
Bryan Helmkamp
9254397807 Extracting LinkLocator object 2008-11-29 01:33:55 -05:00
Bryan Helmkamp
0b6d9c28ea Extracting ButtonLocator object 2008-11-29 01:30:23 -05:00
Bryan Helmkamp
e5fb990cda Minor cleanups to locators 2008-11-29 01:19:59 -05:00
Bryan Helmkamp
4a63c9bfd1 Switching field_named locator to use elements 2008-11-29 01:14:49 -05:00
Bryan Helmkamp
4736c4cb1a Adding Field.xpath_search method with the XPath to all Webrat fields 2008-11-29 01:12:07 -05:00
Bryan Helmkamp
e0488cd8e4 Looking up Fields using Session#elements hash 2008-11-29 01:08:58 -05:00
Bryan Helmkamp
8e864f7e0d Extract Session#reset method 2008-11-29 01:05:19 -05:00
Bryan Helmkamp
154c83eced Store references to Areas in a Session#elements hash 2008-11-29 01:00:18 -05:00
Bryan Helmkamp
857625840f Adding Webrat::XML.xpath_to method 2008-11-29 00:49:00 -05:00
Bryan Helmkamp
6316faae44 Changing Field creation to use XPath 2008-11-29 00:43:24 -05:00
Bryan Helmkamp
3134d1ce73 Add pending spec for not unencoding entities in textarea default values 2008-11-29 00:21:49 -05:00
Bryan Helmkamp
f032a8de73 Refactoring CSS searching for building Links, Areas and Forms 2008-11-29 00:11:40 -05:00
Bryan Helmkamp
f2758c5d81 Search for areas using the DOM 2008-11-28 19:52:34 -05:00
Bryan Helmkamp
0b1dfbe0a2 Search for buttons using DOM 2008-11-28 18:30:38 -05:00
Bryan Helmkamp
ca0642e35c Updating field_with_id to search DOM elements 2008-11-28 18:14:42 -05:00
Bryan Helmkamp
3dce02483b Bump Nokogiri dependency to 1.0.6 2008-11-28 15:13:57 -05:00
Bryan Helmkamp
24923a610d Include the Selenium server jar file in the gem (Bryan Helmkamp, Ben Schwarz) 2008-11-28 15:12:54 -05:00
Bryan Helmkamp
ff2dd5de61 Adding require and switching to class_eval 2008-11-28 14:41:17 -05:00
Bryan Helmkamp
97bb64f4f9 Add "rake spec_deps" task to test specs for dependency issues and correct some issues 2008-11-28 03:11:19 -05:00
Bryan Helmkamp
ba0e50104b Parse with nokogiri when running the specs on MRI 2008-11-28 03:04:10 -05:00
Bryan Helmkamp
555e24394a Adding "rake precommit" task for running specs against both MRI and JRuby 2008-11-28 03:03:23 -05:00
Bryan Helmkamp
17808cbfb4 Add guilt-inducing pending specs for the set_hidden_field and submit_form methods 2008-11-28 03:02:07 -05:00
Bryan Helmkamp
0619159bec Adding lots of History entries that were missing for work since the last release 2008-11-28 03:01:28 -05:00
Bryan Helmkamp
87211f260d Use REXML and Hpricot together when Nokogiri is not available
This gets us the ability to use XPath consistently, as well as Hpricot's
forgiving parser, when using JRuby
2008-11-28 02:02:17 -05:00
Bryan Helmkamp
18e65bfa44 Cleaning up some more specs 2008-11-28 00:55:45 -05:00
Bryan Helmkamp
31aa659a67 Ensure all example HTML is wrapped in <html> tags 2008-11-28 00:34:35 -05:00
Bryan Helmkamp
3744009dd2 Only run Nokogiri spec when parsing with nokogiri 2008-11-28 00:14:36 -05:00
Bryan Helmkamp
334108015f Abstracting access to inner_html and inner_text to Webrat::XML methods 2008-11-28 00:12:21 -05:00
Bryan Helmkamp
9a344fdc2b Converting usages of element attributes to use a Webrat::XML method 2008-11-27 00:57:10 -05:00
Bryan Helmkamp
7ef8fdf7ba Processing CSS searches as XPath 2008-11-27 00:40:18 -05:00
Bryan Helmkamp
56dc8147f2 Unifying on more usage of css_search method 2008-11-27 00:36:07 -05:00
Bryan Helmkamp
e7ddb4bdd1 Extracting hpricot_document method 2008-11-27 00:33:11 -05:00
Bryan Helmkamp
b1ef30c71d Removing empty file 2008-11-27 00:29:47 -05:00
Bryan Helmkamp
226ab89a1a Fixing up XHTML in some specs 2008-11-27 00:29:20 -05:00
Bryan Helmkamp
1d5ec1aff9 Un-pending spec that now works 2008-11-27 00:27:13 -05:00
Bryan Helmkamp
8a4a7a328f Revert "Changing field_named and field_with_id to use XPath"
This reverts commit 4a6c6fb2fc.

Conflicts:

	lib/webrat/core/form.rb
2008-11-26 21:37:56 -05:00
Bryan Helmkamp
8770ccb563 Fixing another bug in detecting fields via XPath 2008-11-26 20:47:50 -05:00
Bryan Helmkamp
4f530cfa29 Extending ActionController::IntegrationTest instead of ActionController::Integration::Session fixes error with Webrat's select method 2008-11-26 14:26:10 -05:00
Bryan Helmkamp
01fcd0dea1 Making Webrat's usage of the #path Nokogiri method work with Hpricot too 2008-11-26 14:25:42 -05:00
Bryan Helmkamp
54de30032e Updating Webrat require in init.rb 2008-11-26 14:24:58 -05:00
Bryan Helmkamp
557d9711e5 Correcting specdoc 2008-11-26 13:47:36 -05:00
Bryan Helmkamp
aecd70dd15 Add pending spec for bug. Webrat needs to escape quotes in XPath 2008-11-26 08:32:22 -05:00
Bryan Helmkamp
f7addd1d38 Add IRC channel to README 2008-11-25 14:07:42 -05:00
Bryan Helmkamp
5f405ebbdc Update link to RDoc in README 2008-11-25 10:15:39 -05:00