$this->waitForPageToLoad($this->getTimeoutMsec());
// verify number of registered participants
- $this->assertTrue($this->isTextPresent('2 Results'));
+ $this->assertElementContainsText("xpath=//div[@id='search-status']/table/tbody/tr[1]/td", '2 Results');
}
function testParticipantCountWithPriceset() {
}
/**
- * @param $params
+ * @param array $params
*
* @return string
*/
}
/**
- * @param $eventParams
+ * @param array $eventParams
* @param $participants
* @param $priceFieldOptionCounts
*/
$this->click('_qf_Custom_refresh-bottom');
$this->waitForPageToLoad($this->getTimeoutMsec());
- $tableHeaders = array('Contact ID', 'Participant Id', 'Name');
+ $tableHeaders = array('Contact ID', 'Participant ID', 'Name');
$tableHeaders = array_merge($tableHeaders, array_keys(current($priceFieldOptionCounts)));
$tdnum = 2;