jarra
124ec5d76e
Oops, renaming mistake fixed!
2010-09-26 17:58:39 +02:00
jarra
80df9fff5a
Popup support added for selenium.
2010-09-26 17:58:38 +02:00
Jonas Nicklas
0bf8796829
Temporarily don't run remote selenium specs
...
I'm experiencing a problem with this causing some
unrelated specs to hang. Until I figure out why
I'm going to disable this. I've spent way too much
time on this already. Need to be pragmatic.
2010-09-26 17:58:17 +02:00
Jonas Nicklas
0c505d9cee
before, not before(:all)
2010-09-26 17:43:27 +02:00
Bernerd Schaefer
19e1ffc084
Update to rspec2
...
Use rspec2's metadata features to skip celerity specs when run in MRI
and culerity specs when jruby is not installed.
2010-09-18 12:34:14 -05:00
Bernerd Schaefer
409c4cdd49
Remove constant redefined warnings in suite
2010-09-17 19:10:16 -05:00
Jonas Nicklas
be6aaa9f33
Always run server
...
since we're now always using the same session
this would otherwise cause the server not to start
2010-09-15 22:05:05 +02:00
Nicklas Ramhöj
844bd776ae
Use same session in all specs
...
This prevents most of all Selenium from opening
dozens of browser windows.
2010-09-07 18:20:04 +02:00
Cezary Baginski
c8a55c4011
Fix warnings from Rack by forcing binary params
2010-08-19 21:22:03 +02:00
Myron Marston
5b72525a96
Detect infinite redirection (i.e. more than 5 redirects).
...
This originally worked with a timeout. Jonas fixed it so that it follows 5 redirects, but the infinite redirect error was not raised.
2010-06-29 14:11:24 -07:00
Jonas Nicklas
87abb6cf0f
Merge remote branch 'carlosantoniodasilva/cleanup'
2010-06-29 22:09:34 +02:00
Jonas Nicklas
ae355e0fe7
"Surely that page could not possibly change"
...
-- famous last words
2010-06-29 21:54:40 +02:00
Carlos Antonio da Silva
5ad348d776
Add cleanup method to clear cookies for Celerity/Culerity and RackTest, with tests for Selenium included
2010-06-24 10:51:44 -03:00
Gareth Townsend
d1fc4d6e1a
Rename response_code to status_code for consistency.
...
Update selenium specs to ensure that it raises the Capybara::NotSupportedByDriverError error.
2010-06-07 13:14:40 +10:00
Gareth Townsend
6acb113497
Implement status_code method for celerity_driver.
2010-06-07 12:57:14 +10:00
Gareth Townsend
d80471982d
Implement status_code method for rack_test_driver.
2010-06-07 11:45:09 +10:00
Gareth Townsend
072e697130
Implemented a response_code method in the Capybara::Driver::Base class that raises Capybara::NotSupportedByDriverError.
2010-06-07 11:13:57 +10:00
Jonas Nicklas
b8f4230271
Fail early when no rack application is set.
2010-05-26 16:37:14 +02:00
Larry Diehl
67a2076ecc
Merge remote branch 'jgagner/master'
...
Conflicts:
lib/capybara/driver/selenium_driver.rb
lib/capybara/session.rb
spec/driver/selenium_driver_spec.rb
2010-04-28 16:03:27 -07:00
Jonas Nicklas
74a752ebf5
Removed old unexisting shared scenario from celerity spec
2010-03-18 13:16:53 +01:00
Jonas Nicklas
9a19b758ca
All drivers now support relative searching
...
There is a bug in Selenium, which causes it to
find only descendant nodes, even when asked for
a global search. Bug filed here:
http://code.google.com/p/selenium/issues/detail?id=403
2010-02-26 18:38:27 +01:00
Jonas Nicklas
0ed383238f
Init C[ue]lerity driver/session in before(:all)
...
This way we don't create a crap load of instances
which leads to out-of-memory exceptions.
2010-02-26 01:14:58 +01:00
Jonas Nicklas
ecdc2bd8c5
visit now allow fully qualified URLs.
...
This also introduces Capybara.run_server, which
controls whether Capybara will spool up a server
or not.
2010-01-17 17:40:26 +01:00
jgagner
8ad161b041
#within_frame method
2010-01-12 11:40:10 -08:00
Lenny Marks
ee49df6561
Pulled out find/have methods into Searchable module to be shared by Session and Node(for relative searching)
2009-12-24 00:41:34 -05:00
Jonas Nicklas
b57efde45c
Run driver spec as remote instead
...
Running session spec is too slow
2009-12-19 12:40:08 +01:00
Lenny Marks
5c22edb7cd
Trashing Driver::Base#response in favor of #response_headers. Not supported by all browsers(e.g. Selenium)
2009-12-18 12:50:55 -05:00
Lenny Marks
4fae6a4a86
Reconciling latest changes to culerity_driver to celerity_driver
2009-12-17 23:41:22 -05:00
Jonas Nicklas
d183409d19
Merge remote branch 'denro/evaluate_script'
...
Conflicts:
lib/capybara.rb
lib/capybara/driver/selenium_driver.rb
lib/capybara/dsl.rb
spec/session/culerity_session_spec.rb
spec/session/selenium_session_spec.rb
spec/session_spec.rb
2009-12-12 21:56:32 +01:00
Dennis Rogenius
bcff9d7eda
fixed a desciption and removed whitespaces
2009-12-11 22:40:23 +01:00
Jonas Nicklas
cd2b411ea2
Removed Safariwatir and Firewatir drivers
2009-12-09 21:29:51 +01:00
Jonas Nicklas
56d5c2cd44
Completely comment out Watir driver specs
...
So they don't load and require their dependencies
2009-11-24 23:37:25 +01:00
Theo Hultberg and Jonas Nicklas
6b099a4a33
renamed to capybara
2009-11-16 22:02:16 +01:00
Jonas Nicklas and Kevin Fitzpatrick
ac7d044243
Changed to use selenium-webdriver and it works!
2009-11-14 10:44:46 +01:00
Jonas Nicklas
8706b7641c
Move driver specs into own directory
2009-11-07 18:55:55 +01:00