this fixes most of contribution webtests
authorPratik Joshi <pratik.joshi@webaccess.co.in>
Mon, 12 Aug 2013 14:06:44 +0000 (19:36 +0530)
committerPratik Joshi <pratik.joshi@webaccess.co.in>
Mon, 12 Aug 2013 14:06:44 +0000 (19:36 +0530)
tests/phpunit/CiviTest/CiviSeleniumTestCase.php

index 31a9f126948d318113c8956cfc5b5365cc0c9802..440e0d8c0c5e45c4525dd9df5a6500821cc46163 100644 (file)
@@ -891,7 +891,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
       if ($payLater) {
         $this->click('is_pay_later');
         $this->type('pay_later_text', "Pay later label $hash");
-        $this->type('pay_later_receipt', "Pay later instructions $hash");
+        $this->fillRichTextField('pay_later_receipt', "Pay later instructions $hash");
       }
 
       if ($pledges) {