From: kurund Date: Mon, 12 Aug 2013 16:34:57 +0000 (+0530) Subject: soft credit fixes for WebTest_Contribute_ContactContextAddTest X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d6fac112056b46087c470b957be650c2e871f4f3;p=civicrm-core.git soft credit fixes for WebTest_Contribute_ContactContextAddTest --- diff --git a/tests/phpunit/WebTest/Contribute/ContactContextAddTest.php b/tests/phpunit/WebTest/Contribute/ContactContextAddTest.php index b187b2e503..da7eaf6a14 100644 --- a/tests/phpunit/WebTest/Contribute/ContactContextAddTest.php +++ b/tests/phpunit/WebTest/Contribute/ContactContextAddTest.php @@ -107,11 +107,7 @@ class WebTest_Contribute_ContactContextAddTest 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->waitForElementPresent('CIVICRM_QFID_3_6');