projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04528c0
)
soft credit fixes for WebTest_Contribute_AddPricesetTest
author
kurund
<kurund@civicrm.org>
Mon, 12 Aug 2013 16:29:19 +0000
(21:59 +0530)
committer
kurund
<kurund@civicrm.org>
Mon, 12 Aug 2013 16:29:19 +0000
(21:59 +0530)
tests/phpunit/WebTest/Contribute/AddPricesetTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/WebTest/Contribute/AddPricesetTest.php
b/tests/phpunit/WebTest/Contribute/AddPricesetTest.php
index 32490939c50e0ee21411c48320d0a54a9480c939..48addd180fbbb70d9ed057d54e56083f5e31f084 100644
(file)
--- 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');