Commit Graph

44 Commits

Author SHA1 Message Date
Bryan Helmkamp
e18ef197b5 Move selenium integration code to webrat/integrations/selenium so it's automatically required 2009-08-20 00:09:03 -04:00
Bryan Helmkamp
987766b10d Don't require rubygems at runtime (Simon Rozet) 2009-08-10 20:14:48 -04:00
Brian Landau
dd98b33713 Make compatable with latest version of "selenium-client" gem, version 1.2.16 2009-07-06 13:50:00 -04:00
Matthias Marschall
6cd734aec9 made selenium integration tests run applying larrytheliquid's patch: 627913708c 2009-05-29 17:05:35 -05:00
snusnu
77168fd29d only require silence_stream if active_support hasn't already defined it 2009-05-13 05:01:19 +02:00
snusnu
926bcc6c66 extracted silence_stream into its own file under webrat/selenium
I don't think silence_stream.rb should be stored under
core_extensions, because the way it's implemented, it simply is
no core extension. Also, a grep through webrat source shows that
silence_stream is only used inside the selenium support. This is
why I added webrat/selenium/silence_stream.rb and require it
*before* all other selenium related files in webrat/selenium.rb.
It's necessary to include it this early, because if mode is set
to :selenium, webrat/selenium.rb is required, which in turn
requires webrat/selenium/selenium_session.rb and silence_stream
must be available before selenium_session gets required because
selenium_session already wants to silence the stream.
2009-05-13 03:35:32 +02:00
Bryan Helmkamp
996484c890 Refactoring selenium RC and app server boot code 2009-04-06 14:02:09 -04:00
Bryan Helmkamp
91ea8cfa54 Make selenium process management code more robust and informative 2009-04-06 12:33:24 -04:00
Bryan Helmkamp
aa9049953d Bump selenium-client dependency to 1.2.14 2009-03-29 16:35:27 -04:00
Corey Donohoe
120a53dced small doc fixup to explain how to use different application frameworks with selenium 2009-02-23 14:21:42 -07:00
Corey Donohoe
ec06c76b91 use bin/merb if it's available for appserver startup 2009-02-18 12:31:52 -07:00
Corey Donohoe
92565d3bc4 use application_environment in merb also 2009-02-18 12:16:19 -07:00
Corey Donohoe
63337d4476 it helps if i make sure the spec suite still passes :\ 2009-02-15 14:41:54 -07:00
Corey Donohoe
69dfa5022a Webrat.configuration.application_type => Webrat.configuration.application_framework 2009-02-15 14:40:17 -07:00
Corey Donohoe
7692930769 clean up constant definitions for rails and fix merb port fubar on selenium appserver stop 2009-02-15 14:37:38 -07:00
Corey Donohoe
4bf49a5163 allow picking your appserver type via a configuration option, not discovering framework specific files in the current working directory. also start rack apps with the application port parameter 2009-02-11 11:17:43 -07:00
Corey Donohoe
8fbcbef180 better handling for starting/stopping the server 2009-02-11 10:09:23 -07:00
Corey Donohoe
82eabc31ee small fixup for sinatra + selenium, use rackup instead of mongrel_rails if config.ru exists 2009-02-11 09:25:39 -07:00
T.J. VanSlyke
ea8e1910d1 Added single-quotes around --chdir argument to mongrel_rails call, as
webrat bombs with a file not found error if RAILS_ROOT contains a space.
2009-01-30 11:37:43 -08:00
Amos King
8c0facc5af cleanup and tests closes LH #82 2009-01-23 16:05:33 -06:00
Amos King
da59584cdf add the ability for selenium mode to create pids dirs 2009-01-23 15:34:51 -06:00
Amos King
2c9b546a83 Merge branch 'lh_120_tests_with_selenium' of git@github.com:gaffo/webrat into lh_82
Conflicts:
	spec/integration/rails/test/integration/webrat_test.rb
2009-01-23 15:11:16 -06:00
Amos King
9745673f1c Revert "remove commented code and make assert_contain use a true assertion"
This reverts commit 114db434182bbf9ad5b2737d181048bab363f055.
2009-01-13 22:30:52 -06:00
Amos King
cdd390a19d remove commented code and make assert_contain use a true assertion 2009-01-13 22:30:52 -06:00
Mike Gaffney
c1b49f36ea working on getting standardized for the specs 2009-01-12 23:31:14 -06:00
cornel.borcean
e49c341fc0 implemented start and stop selenium server only if the selenium_server_address is nil 2009-01-12 14:17:05 -06:00
cornel.borcean
0ce92dfcd8 changed selenium_environment to application_environment and deprecated selenium_environment and selenium_port 2009-01-12 12:32:14 -06:00
cornel.borcean
33d2cdcc53 changed selenium_port to application_port to reflect what the variable is used for ... 2009-01-12 12:13:22 -06:00
Bryan Helmkamp
7c603f834c Minor refactorings 2008-12-27 20:18:55 -05:00
Kieran Pilkington
2c51d90830 adding configuration option to change seleniums environment and port settings 2008-12-28 11:39:34 +13:00
Bryan Helmkamp
362df8abf0 Fix startup bug when using Webrat::Selenium with Test::Unit 2008-12-27 15:57:01 -05:00
gaffo
22c7834512 Sets the Webrat mode with Configuration#mode= in the config block 2008-12-25 23:07:10 -05:00
Luke Melia
7d63aa1a4d Extracted save_and_open_page related functionality to a module and included it in SeleniumSession as well as the standard webrat session. Also added save_and_open_screengrab method to SeleniumSession. 2008-12-19 00:47:26 -05:00
Bryan Helmkamp
f53e415076 include Webrat::Selenium::Matchers into Webrat::Selenium::Rails::World 2008-12-07 14:02:06 -05:00
Bryan Helmkamp
0888c683a3 Added auto-waiting #contain and #have_selector matchers for Selenium 2008-12-02 21:55:09 -05:00
Bryan Helmkamp
0fb3ed6b11 Add docs for Webrat::Selenium 2008-12-02 20:02:08 -05:00
Bryan Helmkamp
26a08e69ae Correcting include of Webrat::Methods in Selenium mode 2008-12-01 20:57:57 -05:00
Bryan Helmkamp
3b8fc5551f RDoc tweaks 2008-11-24 20:03:32 -05:00
Bryan Helmkamp
da68aa8bce Cleaning up Selenium support. Mongrel and Selenium servers start/shutdown automatically 2008-11-23 19:46:37 -05:00
Bryan Helmkamp
e6cb40b66e Adding methods to start and stop the selenium server java process 2008-11-23 15:44:49 -05:00
Bryan Helmkamp
adf68c2f8f Change Webrat Rails integration to use the Webrat::Methods module 2008-11-22 23:49:12 -05:00
Luke Melia
9b5ffacecc Switch to using selenium-client gem and vendor selenium-server.jar (not used directly from webrat yet) 2008-11-20 16:07:18 -05:00
Bryan Helmkamp
2473cccb92 Cleaning up require structure 2008-10-25 12:59:21 -04:00
Luke Melia
7a5fbeef7f Spiked a Selenium session type for webrat. 2008-06-16 01:11:02 -04:00