From 13dff995e445558b9daa19fff8b48fcef2ca624e Mon Sep 17 00:00:00 2001 From: kurund Date: Mon, 12 Aug 2013 21:59:19 +0530 Subject: [PATCH] soft credit fixes for WebTest_Contribute_AddPricesetTest --- tests/phpunit/WebTest/Contribute/AddPricesetTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/phpunit/WebTest/Contribute/AddPricesetTest.php b/tests/phpunit/WebTest/Contribute/AddPricesetTest.php index 32490939c5..48addd180f 100644 --- a/tests/phpunit/WebTest/Contribute/AddPricesetTest.php +++ b/tests/phpunit/WebTest/Contribute/AddPricesetTest.php @@ -583,10 +583,8 @@ class WebTest_Contribute_AddPricesetTest extends CiviSeleniumTestCase { $this->type('trxn_id', 'P20901X1' . rand(100, 10000)); - $this->type('soft_credit_to', "$lastNameSoft, $firstNameSoft"); - $this->click('soft_credit_to'); - $this->waitForElementPresent("css=div.ac_results-inner li"); - $this->click("css=div.ac_results-inner li"); + $this->webtestFillAutocomplete("{$lastNameSoft}, {$firstNameSoft}", 'soft_credit_contact_1'); + //Additional Detail section $this->click('AdditionalDetail'); $this->waitForElementPresent('thankyou_date'); -- 2.25.1