'Contribution Status' => 'Pending',
'Paid By' => 'Check',
'Check Number' => 'check #1041',
- 'Soft Credit To' => "{$softCreditFname} {$softCreditLname}",
);
$this->webtestVerifyTabularData($expected);
- // go to soft creditor contact view page
- $this->click("xpath=id('ContributionView')/div[2]/table[1]/tbody//tr/td[1][text()='Soft Credit To']/../td[2]/a[text()='{$softCreditFname} {$softCreditLname}']");
+ // go to soft creditor contact view page - this also does the soft credit check
+ $this->click("xpath=id('ContributionView')/div[2]/div/div[1][contains(text(), 'Soft Credit')]/../div[2]/table[1]/tbody//tr/td[1]/a[contains(text(), '{$softCreditFname} {$softCreditLname}')]");
// go to contribution tab
$this->waitForElementPresent("css=li#tab_contribute a");