Index: drupal_test_case.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/drupal_test_case.php,v
retrieving revision 1.39
diff -u -r1.39 drupal_test_case.php
--- drupal_test_case.php	5 Jan 2008 10:21:57 -0000	1.39
+++ drupal_test_case.php	5 Jan 2008 13:06:12 -0000
@@ -103,7 +103,7 @@
    *   (where possible) to the values indicated. A checkbox can be set to
    *   TRUE to be checked and FALSE to be unchecked.
    * @param string $submit
-   *   Untranslated name of the submit button.
+   *   Untranslated value, id or name of the submit button.
    */
   function drupalPostRequest($path, $edit = array(), $submit) {
     if (isset($path)) {
@@ -117,8 +117,7 @@
       $this->assertTrue($ret, " [browser] Setting $field_name=\"$field_value\"");
     }
 
-    $ret = $this->_browser->clickSubmit(t($submit))  || $this->_browser->clickSubmitByName($submit) || $this->_browser->clickImageByName($submit);
-//    $ret = $this->_browser->clickSubmitByName('op');
+    $ret = $this->_browser->clickSubmit(t($submit))  || $this->_browser->clickSubmitById($submit) || $this->_browser->clickSubmitByName($submit) || $this->_browser->clickImageByName($submit);
     $this->assertTrue($ret, ' [browser] POST by click on ' . t($submit));
     $this->_content = $this->_browser->getContent();
   }
