Damian Janowski
a3abe5782c
Add spec that shows nested file inputs.
2010-05-14 13:20:07 -03:00
Damian Janowski
438e53c295
Fix broken integration test in 1.9.1-p378.
2010-04-22 19:09:45 -03:00
Damian Janowski
c49123c772
Fix Mechanize spec.
2010-04-13 13:25:28 -03:00
Damian Janowski
2c9de38129
Add missing spec that shows a regression after e3bcf5.
2010-04-13 12:57:25 -03:00
Damian Janowski
deccefa2c3
Some explicit requires of RubyGems are necessary for integration tests.
...
Should not affect the way Webrat behaves as a library.
2010-04-12 23:30:56 -03:00
Simon Rozet
10c70a37de
Get rid of needless require "rubygems"
2010-04-12 22:28:14 -03:00
Bryan Helmkamp
05af4dd2a0
Switching to Safari until Snow Leopard + Firefox + Selenium is fixed
...
http://jira.openqa.org/browse/SRC-743
2009-11-13 21:23:27 -05:00
Bryan Helmkamp
7812f25741
Don't blow up if PID doesn't exist at the end
2009-11-13 21:22:41 -05:00
Bryan Helmkamp
fcde80f43f
Avoid Selenium test bleed by ending with an assertion about the next page
2009-11-13 21:17:41 -05:00
Bryan Helmkamp
1ce72b6912
Ending selenium tests with assertions avoids "test bleed"
2009-11-13 21:10:25 -05:00
Bryan Helmkamp
bb282d992e
Remove a couple more bogus tests
...
<input type="button" /> doesn't submit forms
2009-11-13 21:07:21 -05:00
Bryan Helmkamp
f6dd24f7c5
Remove bogus integration tests that were passing (sometimes) by coincidence
...
An element of <button type="button" /> is not supposed to submit a form
2009-11-13 20:57:55 -05:00
Bryan Helmkamp
d0cadf8a76
Update file location for Rails 2.3.4
2009-11-13 20:52:14 -05:00
Bryan Helmkamp
1c28425583
Use Bundler for managing dependencies needed to run the tests
2009-11-13 17:41:33 -05:00
Bryan Helmkamp
042b416092
Whitespace
2009-09-19 17:34:09 -04:00
Bryan Helmkamp
b51ba029db
Fix support for passing in an ActiveRecord model to within (which uses dom_id) LB/BH
2009-09-18 11:28:07 -04:00
Bryan Helmkamp
e7a3ac865c
Guard tests for things that aren't supported in Selenium yet
2009-09-17 20:13:04 -04:00
Bryan Helmkamp
0412543e5a
Add very basic spec for Mechanize
2009-08-12 21:37:15 -04:00
Bryan Helmkamp
561525dd81
Rename RackSession to RackAdapter
2009-08-12 20:39:35 -04:00
Bryan Helmkamp
74d470ff10
Merge commit 'sr/rack-upload'
2009-08-12 20:16:57 -04:00
Bryan Helmkamp
11996a15dc
Updating to leverage latest rack-test
2009-06-25 21:13:54 -04:00
Simon Rozet
3760867d0f
Implement file uploading for :rack
2009-06-25 23:41:51 +02:00
Simon Rozet
051dfe188c
Make sure Webrat is usable without the Methods mixin
2009-06-25 00:09:03 +02:00
Damian Janowski
cbc447223c
Fix form fields being double-escaped with :rack
...
Signed-off-by: Simon Rozet <simon@rozet.name>
2009-06-24 18:57:55 +02:00
Simon Rozet
cf8d891302
More integration specs for the rack mode
...
One test is still pending because form fields are double-escaped.
2009-06-24 18:57:55 +02:00
Simon Rozet
4c010d1c65
Use Rack::Lint to test the rack session
2009-06-24 18:57:55 +02:00
Simon Rozet
8cda77318c
Fix wrong HTTP_HOST in rack session
...
Webrat relies on www.example.com while Rack::Test expects example.org
2009-06-24 18:57:38 +02:00
Simon Rozet
0a3b979772
Rename :rack_test mode to :rack
2009-06-24 15:13:27 +02:00
Mike Gaffney
0c9944c4d8
Merge commit 'eddd97936'
...
Conflicts:
spec/integration/rails/test/integration/webrat_test.rb
2009-06-15 22:40:02 -05:00
Bryan Helmkamp
953d35b65a
Commenting out failing Rack spec for now
2009-06-15 00:17:44 -04:00
Bryan Helmkamp
d9de87c41f
Remove redgreen from rails integration tests too
2009-06-15 00:16:23 -04:00
Bryan Helmkamp
a015931578
Comment out redgreen because it has issues on Ruby 1.9
2009-06-15 00:03:46 -04:00
Bryan Helmkamp
3bc2d4d1b8
Merge commit 'rcarver/merb-uploads'
2009-06-14 21:18:47 -04:00
Mike Gaffney
f4141f787d
[ #261 state:awaiting-patch]
...
added a test that shows that selenium can't click a link with text that has parens in it
2009-06-08 12:08:53 -05:00
Mike Gaffney
a6a4a7cfd9
moving app server lookup out into a factory
2009-06-04 14:44:06 -05:00
Mike Gaffney
f3a12adaa9
whitespace changes
2009-06-04 12:18:31 -05:00
Thomas Jack
2ae14f78b1
expose regexp escape problem in fill_in_test
2009-06-02 17:56:12 -05:00
mike.gaffney
bd1655c8e2
[ #257 state:awaiting-patch] here is a test proving the issue
2009-06-02 17:23:12 -05:00
mike.gaffney
2219ab62d3
refactoring buttons to their own controller
2009-06-01 12:25:36 -05:00
mike.gaffney
5430930bac
added test for clicking link by title
2009-06-01 12:17:29 -05:00
Matthias Marschall
9b85b6d7e0
added integration tests for all cases of click_button (by id, by html, by value, by alt for buttons and inputs of types image, button and submit)
2009-05-29 17:05:35 -05:00
Matthias Marschall
6cd734aec9
made selenium integration tests run applying larrytheliquid's patch: 627913708c
2009-05-29 17:05:35 -05:00
Luke Amdor
7f13a70b4b
Added current_url to SeleniumSession to have the same api for both sessions
2009-05-13 22:33:20 -05:00
Bryan Helmkamp
b439d7f807
Revert "Canonicalize all URLs (Shalon Wood)"
...
This reverts commit 755cf6e508
.
2009-05-11 16:48:28 -04:00
Bryan Helmkamp
453cb4b3eb
Stripping whitespace
2009-05-11 01:27:04 -04:00
Bryan Helmkamp
b5254109f1
Start on Rack::Test integration
2009-05-11 00:12:27 -04:00
Bryan Helmkamp
755cf6e508
Canonicalize all URLs (Shalon Wood)
2009-05-11 00:12:27 -04:00
Mutwin Kraus
eddd979361
Fixed following of internal redirects when using a custom Host header
...
Webrat didn't properly follow internal redirects when using the Host
header, this lets Webrat check the Host header before falling back
to www.example.com as the current_host.
2009-04-24 23:49:11 -07:00
Ryan Carver
26edfbc7cb
Integration tests for Merb file uploads
2009-04-24 14:11:49 -07:00
Bryan Helmkamp
03914fd293
Whitespace
2009-04-07 20:30:12 -04:00