From fd40e2c212f68d9b8bbb35276f1d3cfaed65fd6d Mon Sep 17 00:00:00 2001 From: kurund Date: Tue, 13 Aug 2013 00:40:30 +0530 Subject: [PATCH] soft credit fixes for WebTest_Contribute_StandaloneAddTest --- tests/phpunit/WebTest/Contribute/StandaloneAddTest.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/phpunit/WebTest/Contribute/StandaloneAddTest.php b/tests/phpunit/WebTest/Contribute/StandaloneAddTest.php index 89f4fa99dd..f6466eabbf 100644 --- a/tests/phpunit/WebTest/Contribute/StandaloneAddTest.php +++ b/tests/phpunit/WebTest/Contribute/StandaloneAddTest.php @@ -94,11 +94,7 @@ class WebTest_Contribute_StandaloneAddTest extends CiviSeleniumTestCase { $this->type("trxn_id", "P20901X1" . rand(100, 10000)); // soft credit - $this->click("soft_credit_to"); - $this->type("soft_credit_to", $softCreditFname); - $this->typeKeys("soft_credit_to", $softCreditFname); - $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