Bryan Helmkamp
|
1d39fe71d4
|
Refactoring away from Page object
|
2008-08-10 15:24:02 -04:00 |
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  '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
|
4fe320aac6
|
Merge commit 'danbarry/master'
|
2008-07-25 18:56:57 -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
|
01f87b5c3b
|
Merge branch 'master' of git://github.com/ismasan/webrat into ismasan/master
|
2008-07-20 22:04:15 -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 |
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 |
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 |
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 |
Gwyn Morfey
|
2855b4382f
|
Implemented Merb's magic exception handling in tests. This could be more robust.
|
2008-04-23 14:33:05 +01:00 |
Gwyn Morfey
|
580a301984
|
Make sure that PUTS and DELETES are handled correctly in merb
|
2008-04-23 10:41:34 +01:00 |
Gwyn Morfey
|
e4e2de1206
|
Missing files
|
2008-04-18 16:40:24 +01:00 |
Gwyn Morfey
|
c967a02ca0
|
All tests pass in merb
|
2008-04-18 16:39:28 +01:00 |
Gwyn Morfey
|
aeb6aa056c
|
All but 3 merb tests pass
|
2008-04-18 13:37:53 +01:00 |
Nick
|
e6486b640b
|
Add support for 'button' elements in forms, and selecting
them by inner text
|
2008-04-17 11:31:40 -05:00 |
Gwyn Morfey
|
2e03051735
|
Wrap RAILS_ROOT to support Merb also
|
2008-04-17 11:52:42 +01:00 |
Gwyn Morfey
|
f74037e4da
|
Preserve cookies, so that we don't lose the session between requests. Make sure you are using the memory session store.
|
2008-04-16 17:12:31 +01:00 |
Gwyn Morfey
|
04261e66d8
|
Added missing post_via_redirect
|
2008-04-16 15:37:47 +01:00 |
Gwyn Morfey
|
44745f6891
|
Fixed Webrat not finding <button type='submit'>
|
2008-04-16 15:35:10 +01:00 |
Gwyn Morfey
|
cdafd2ec0f
|
Added Merb support.
|
2008-04-16 10:54:37 +01: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
|
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 |
Kamal Fariz Mahyuddin
|
3a272cef4e
|
Really fix merging of input collection
* Don't union the arrays
* Don't sort the arrays (in particular, HashWithIndifferentAccess has no <=>)
* Merge deeply nested collections
|
2008-04-04 15:09:55 +01:00 |
Kamal Fariz Mahyuddin
|
6861f3abf2
|
Fix incorrect serializing of collection inputs, i.e. name contains []
|
2008-04-04 15:09:34 +01:00 |
Kamal Fariz Mahyuddin
|
7ee7bae757
|
Added reloads method to reload the page (note: it may resubmit forms)
|
2008-04-04 15:06:34 +01:00 |
Kamal Fariz Mahyuddin
|
407617b0be
|
Prevent making a request if clicking on local anchor link
|
2008-04-04 15:03:42 +01:00 |
Kamal Fariz Mahyuddin
|
db3fe608ea
|
Serialize empty text field values just like browsers
|
2008-04-04 14:59:53 +01:00 |
Bryan Helmkamp
|
e42bc666ec
|
Merge branch 'master' of git://github.com/lukemelia/webrat into lukemelia/master
|
2008-04-04 14:35:40 +01:00 |
Bryan Helmkamp
|
a9d89d23df
|
Avoid warning when running tests
|
2008-04-04 14:19:14 +01:00 |
Luke Melia
|
747a5381f6
|
Added clicks_link_within(selector, link_text), allowing restricting link search to within a given css selector.
|
2008-03-13 19:36:27 -04:00 |
Luke Melia
|
ed8b39cccc
|
Changed clicks_link to find the shortest matching link.
|
2008-03-13 18:01:00 -04:00 |
Luke Melia
|
9fe0ef33af
|
Added default form values for select menus.
|
2008-03-12 02:04:41 -04:00 |
Bryan Helmkamp
|
f7420463fd
|
Add save_and_open_page. Add radio button support via #chooses method
|
2008-03-02 20:06:43 -05:00 |
Bryan Helmkamp
|
64a3f9816d
|
Add hoe for gem support
|
2008-03-02 19:35:46 -05:00 |
Bryan Helmkamp
|
a86f8ca56f
|
Import from subversion
|
2008-03-02 15:14:52 -05:00 |