$this->webtestVerifyTabularData($expected);
//Check for SoftCredit
- $this->verifyText("xpath=id('PCPView')//div[@class='crm-accordion-body']/table/tbody/tr[1]/td[2]/a[text()]", preg_quote($pcpTitle));
- $this->verifyText("xpath=id('PCPView')//div[@class='crm-accordion-body']/table/tbody/tr[2]/td[2]/a[text()]", preg_quote("{$firstName} {$lastName}"));
-
+ $softCreditor = "{$firstName} {$lastName}";
+ $this->verifyText("xpath=//table[@class='crm-info-panel crm-soft-credit-listing']/tbody/tr/td[1]", preg_quote($softCreditor), 'In line ' . __LINE__);
+
// Check PCP Summary Report
- $this->openCiviPage('report/instance/15', 'reset=1');
+ $this->openCiviPage('report/instance/16', 'reset=1');
$this->verifyText("PCP", preg_quote($pcpTitle));
$this->verifyText("PCP", preg_quote("{$lastName}, {$firstName}"));
}