From 082bb74233fecf20dea1761ad3bc8f874437da73 Mon Sep 17 00:00:00 2001 From: kurund Date: Tue, 13 Aug 2013 00:42:27 +0530 Subject: [PATCH] soft credit fixes for WebTest_Contribute_UpdatePendingContributionTest --- .../WebTest/Contribute/UpdatePendingContributionTest.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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'); -- 2.25.1