From: kurund Date: Mon, 12 Aug 2013 19:12:27 +0000 (+0530) Subject: soft credit fixes for WebTest_Contribute_UpdatePendingContributionTest X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=082bb74233fecf20dea1761ad3bc8f874437da73;p=civicrm-core.git soft credit fixes for WebTest_Contribute_UpdatePendingContributionTest --- diff --git a/tests/phpunit/WebTest/Contribute/UpdatePendingContributionTest.php b/tests/phpunit/WebTest/Contribute/UpdatePendingContributionTest.php index 64cba7dd0c..4bf8969ef1 100644 --- a/tests/phpunit/WebTest/Contribute/UpdatePendingContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/UpdatePendingContributionTest.php @@ -106,11 +106,7 @@ class WebTest_Contribute_UpdatePendingContributionTest extends CiviSeleniumTestC $this->type("trxn_id", "P20901X1" . rand(100, 10000)); // soft credit - $this->type("soft_credit_to", $softCreditFname); - $this->fireEvent("soft_credit_to", "focus"); - $this->click('soft_credit_to'); - $this->waitForElementPresent("css=div.ac_results-inner li"); - $this->click("css=div.ac_results-inner li"); + $this->webtestFillAutocomplete("{$softCreditLname}, {$softCreditFname}", 'soft_credit_contact_1'); //Custom Data //$this->click('CIVICRM_QFID_3_6');