From d6fac112056b46087c470b957be650c2e871f4f3 Mon Sep 17 00:00:00 2001 From: kurund Date: Mon, 12 Aug 2013 22:04:57 +0530 Subject: [PATCH] soft credit fixes for WebTest_Contribute_ContactContextAddTest --- tests/phpunit/WebTest/Contribute/ContactContextAddTest.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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'); -- 2.25.1