Commit Graph

65 Commits

Author SHA1 Message Date
Kamal Fariz Mahyuddin
d9ebabf461 Ruby 1.9-compat - test for MiniTest::Assertion instead of T::U::AssertionFailedError 2009-08-12 14:52:01 +08:00
Bryan Helmkamp
d620e66bd8 Use Launchy to handle opening pages in the browser with cross-platform compatibility 2009-06-14 21:38:04 -04:00
Erin Staniland
b75ff6221b Added missing quote from rewrite_css_and_image_references and added support for single quotes 2009-06-14 21:01:06 -04:00
Mike Gaffney
6bfdcc54cc Fixed Spec in Test Unit more thoroghly 2009-06-05 13:51:55 -05:00
Mike Gaffney
dd8688f371 moved application_server to appservers/base 2009-06-04 15:19:05 -05:00
Mike Gaffney
1910204974 refactor>moved the app servers to a directory 2009-06-04 15:13:54 -05:00
Mike Gaffney
6d74cd935e [#246 state:resolved] added external application server if you have your own started 2009-06-04 15:03:00 -05:00
Mike Gaffney
a6a4a7cfd9 moving app server lookup out into a factory 2009-06-04 14:44:06 -05:00
Mike Gaffney
6816c46d47 refactored tests to be more rspeccy 2009-06-04 14:24:17 -05:00
Mike Gaffney
f3a12adaa9 whitespace changes 2009-06-04 12:18:31 -05:00
Mike Gaffney
e46df8c6f9 made tests cleaner and better coverage 2009-06-03 22:06:07 -05:00
Mike Gaffney
977f643dca catches spec failed exception again 2009-06-03 18:49:32 -05:00
Thomas Jack
232ed36379 spec for descendant selectors in have_xpath block 2009-05-13 14:52:53 -05:00
Thomas Jack
db9c5bdc77 Merge branch 'master' of git://github.com/brynary/webrat 2009-05-13 14:34:16 -05:00
Bryan Helmkamp
7b6b3168a2 Revert "Correct some specs that need full URLs"
This reverts commit 3e71ae3733.

Conflicts:

	spec/public/select_spec.rb
2009-05-11 16:51:42 -04:00
Bryan Helmkamp
b439d7f807 Revert "Canonicalize all URLs (Shalon Wood)"
This reverts commit 755cf6e508.
2009-05-11 16:48:28 -04:00
Thomas Jack
8bedf2235d Merge branch 'master' of git://github.com/brynary/webrat 2009-05-11 00:29:49 -05:00
Bryan Helmkamp
453cb4b3eb Stripping whitespace 2009-05-11 01:27:04 -04:00
Bryan Helmkamp
3e71ae3733 Correct some specs that need full URLs 2009-05-11 00:16:38 -04:00
Bryan Helmkamp
35cbfd9643 Use Nokogiri on JRuby -- ~2x faster than REXML on JRuby for me 2009-05-11 00:13:00 -04:00
Bryan Helmkamp
755cf6e508 Canonicalize all URLs (Shalon Wood) 2009-05-11 00:12:27 -04:00
Thomas Jack
9a3668be92 match descendents in have_selector/have_xpath blocks 2009-04-29 01:33:26 -05:00
mike.gaffney
7d4a2035f7 Merge commit '742db2d910d7baa51487400cb339a20bd7079418' 2009-04-22 12:15:27 -05:00
Zach Dennis
7c08390bb8 Updated regex for LabelLocator and FieldLabeledLocator to work with labels whose text ends in a non-word character like \? or # 2009-04-16 12:25:45 -05:00
Noah Davis
ff42db076f Select fields with duplicate selected options sent an incorrect value 2009-04-11 13:19:59 -04:00
Bryan Helmkamp
03914fd293 Whitespace 2009-04-07 20:30:12 -04:00
Andrew Premdas
742db2d910 added spec for click links by title - functionality is already done 2009-03-13 12:09:24 +00:00
Mark Menard
0c2261d869 Add support for Rails javascript post links. 2009-03-12 15:42:20 -04:00
Luke Melia
72123c1cec When faced with a label with no for attribute, that contains a hidden field and another field, as can be the case in Rails 2.3's checkbox view, webrat now locates the non-hidden field. 2009-03-01 01:44:35 -05:00
Bryan Helmkamp
29c40bd73c Pulling attribute conditions up from have_selector to have_xpath 2009-02-23 20:47:02 -05:00
Bryan Helmkamp
2296cadb93 Pulling features up from have_tag into have_selector 2009-02-23 20:11:25 -05:00
Bryan Helmkamp
b4687c29d5 Break out specs for matchers into separate files 2009-02-15 19:47:12 -05:00
Bryan Helmkamp
17a8bc7b66 Adding :count option to have_tag 2009-02-15 19:41:44 -05:00
Bryan Helmkamp
932fdab884 Get quoting working for content 2009-02-15 19:32:25 -05:00
Bryan Helmkamp
7ba620f38b Whitespace 2009-02-15 18:57:53 -05:00
Peter Jaros
24eab77ecd Accept do/end blocks in matchers. [#157 state:resolved] 2009-02-09 00:31:17 -05:00
Bryan Helmkamp
e97f7fafc5 Add a spec for two checkboxes with the same name (array style) 2009-02-08 20:58:43 -05:00
Bryan Helmkamp
4769a5f90b Detect infinite redirects and raise a Webrat::InfiniteRedirectError (Daniel Lucraft) 2009-02-08 20:54:00 -05:00
Bryan Helmkamp
7f9df54838 Merge commit 'lenalena/master' into lh_139 2009-01-27 19:13:53 -05:00
Kyle Hargraves
6529a016d1 Labels should only search for fields within the current scope 2009-01-19 13:45:36 -06:00
Bryan Helmkamp
b8b4a614c4 Use reload instead of deprecated reloads in spec 2009-01-19 13:40:58 -05:00
Kyle Hargraves
2b38b78724 field_labeled() should disregard labels without matching fields 2009-01-18 15:57:08 -06:00
Bryan Helmkamp
f92f9bead8 Parse content as HTML (unless the Content-Type is XML) 2009-01-18 16:34:42 -05:00
Bryan Helmkamp
9be3f772bf Whitespace 2009-01-17 17:03:31 -05:00
Bryan Helmkamp
45c5a6a34d Remove a couple pending specs 2009-01-17 17:02:05 -05:00
Zach Dennis
cdf9908f9e Fixed bug where Scope was creating a new DOM rather than re-using the existing DOM. [#105 state:resolved] 2009-01-17 16:59:12 -05:00
Bryan Helmkamp
55bc6b8e00 Merge commit 'gaffo/lh_123' into lh_123
Conflicts:
	History.txt
2009-01-17 16:27:39 -05:00
Bryan Helmkamp
3e3d8e3659 Raise a Webrat::NotFoundError if the scope passed to #within doesn't exist [#90 state:resolved] 2009-01-17 13:27:32 -05:00
Amos King
3707262e72 make asserts count for assert_contain 2009-01-14 11:00:42 -06:00
Amos King
ea930106b6 remove commented code and make assert_contain use a true assertion 2009-01-14 10:58:48 -06:00