<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -19,7 +19,7 @@ public/image_files/
 public/videos/
 public/video/
 tmp/restart.txt
-tmp/webrat*
+webrat-*.html
 zebradb/conf/kete-zebra-servers.xml
 selenium-rc-server.pid
 selenium-web-server.pid</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -33,6 +33,12 @@ GENERAL NOTE: if you are upgrading your production Kete instance rather than dev
 GENERAL NOTE: if you are running in production mode, you may also want to do a &quot;rake tmp:cache:clear&quot; as your last step to any of these.
 However, if you updated your code via a Capistrano deploy, this is probably not necessary.
 
+== 2009/01/20 - Updates to Webrat for better Selenium testing
+
+1.      Update your webrat gem to &gt;= 0.4.0
+           (you should be able to run  'rake manage_gems:testing:update')
+2.      Run  rake test:selenium   to get going
+
 == 2009/01/13 - user_name moved to display_name and resolved_name
 
 1.      Stop your Kete server (mongrels or mod_rails).</diff>
      <filename>UPGRADE</filename>
    </modified>
    <modified>
      <diff>@@ -18,7 +18,7 @@ load_testing_libs
 if defined?(SELENIUM_MODE) &amp;&amp; SELENIUM_MODE
   Webrat.configure do |config|
     config.mode = :selenium
-    config.selenium_environment = :test
+    config.application_environment = :test
     config.open_error_files = false
   end
 else</diff>
      <filename>test/integration/integration_test_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -10,9 +10,11 @@ class ConfigurationTest &lt; ActionController::IntegrationTest
                            to continue to configuration of the site.&quot;
       fill_in 'login', :with =&gt; 'admin'
       fill_in 'password', :with =&gt; 'test'
-      click_button 'Login'
-
-      body_should_contain 'Logged in successfully'
+      click_button 'Log in'
+      
+      sleep 3
+      
+      body_should_contain 'Logged in successfully', :dump_response =&gt; true
       click_button 'Change password'
 
       body_should_contain 'Change password'</diff>
      <filename>test/selenium/001_configuration_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,3 @@
-# WARNING: The selenium tests require bug fixes and features not in the Webrat gem yet
-# To have this pass nicely, clone the webrat repo, and run
-#   rake gem
-#   rake install_gem
-# I'll remove this notice when a new gem version is released
-
 SELENIUM_MODE = true
 
 require File.dirname(__FILE__) + '/../integration/integration_test_helper'</diff>
      <filename>test/selenium/selenium_test_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>47c2810d58f0b9f2fc445f47eaa6c620bc849d3e</id>
    </parent>
  </parents>
  <author>
    <name>Kieran Pilkington</name>
    <email>kieran@katipo.co.nz</email>
  </author>
  <url>http://github.com/kete/kete/commit/c086e3c8857dc42167a06d8d0636f73dea31e624</url>
  <id>c086e3c8857dc42167a06d8d0636f73dea31e624</id>
  <committed-date>2009-01-19T22:14:23-08:00</committed-date>
  <authored-date>2009-01-19T22:14:23-08:00</authored-date>
  <message>test: fixing a few minor issues with Selenium. It does require an update of the webrat gem to the latest source. Run  rake manage_gems:testing:update (which will do the work for you).</message>
  <tree>eb5d0bd2f2e95419a8a8fe5f48369c351a67d082</tree>
  <committer>
    <name>Kieran Pilkington</name>
    <email>kieran@katipo.co.nz</email>
  </committer>
</commit>
