[Checkins] SVN: zc.selenium/trunk/src/zc/selenium/ make sure not to lose this patch!

Fred L. Drake, Jr. fdrake at gmail.com
Fri Oct 13 11:30:15 EDT 2006


Log message for revision 70611:
  make sure not to lose this patch!

Changed:
  A   zc.selenium/trunk/src/zc/selenium/README.txt
  A   zc.selenium/trunk/src/zc/selenium/Selenium-Core-SRC-99.patch

-=-
Added: zc.selenium/trunk/src/zc/selenium/README.txt
===================================================================
--- zc.selenium/trunk/src/zc/selenium/README.txt	2006-10-13 12:28:28 UTC (rev 70610)
+++ zc.selenium/trunk/src/zc/selenium/README.txt	2006-10-13 15:30:13 UTC (rev 70611)
@@ -0,0 +1,29 @@
+===========================
+Selenium testing for Zope 3
+===========================
+
+This package provides an easy way to use Selenium tests for Zope 3
+applications.  It provides Selenium itself as a resource directory,
+and it provides a test suite listing generated from registered views,
+allowing different packages to provide tests without a central list of
+tests to be maintained.
+
+Selenium test views can also be written in Python using the
+`zc.selenium.pytest` module.  This can make tests substantially easier
+to write.
+
+
+Selenium Issues
+---------------
+
+There is a known issue in the included version of Selenium; this
+affects clicking on images in MSIE.  The Selenium bug report for this
+problem is here:
+
+    http://jira.openqa.org/browse/SRC-99
+
+A patch in the file is provided in the file:
+
+    Selenium-Core-SRC-99.patch
+
+It is not known whether this patch should always be applied.


Property changes on: zc.selenium/trunk/src/zc/selenium/README.txt
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: zc.selenium/trunk/src/zc/selenium/Selenium-Core-SRC-99.patch
===================================================================
--- zc.selenium/trunk/src/zc/selenium/Selenium-Core-SRC-99.patch	2006-10-13 12:28:28 UTC (rev 70610)
+++ zc.selenium/trunk/src/zc/selenium/Selenium-Core-SRC-99.patch	2006-10-13 15:30:13 UTC (rev 70611)
@@ -0,0 +1,18 @@
+This is a patch for the Selenium bug reported here:
+
+    http://jira.openqa.org/browse/SRC-99
+
+Index: resources/scripts/selenium-browserbot.js
+===================================================================
+--- resources/scripts/selenium-browserbot.js	(revision 70236)
++++ resources/scripts/selenium-browserbot.js	(working copy)
+@@ -997,7 +997,9 @@
+             triggerEvent(element, 'change', true);
+         }
+ 
++        /* See http://jira.openqa.org/browse/SRC-99
+         triggerEvent(element, 'blur', false);
++        */
+     }
+     catch (e) {
+         // If the page is unloading, we may get a "Permission denied" or "Unspecified error".



More information about the Checkins mailing list