$streetAddress = "100 Main Street";
$this->_testAddLocation($streetAddress);
- $this->_testAddFees(FALSE, FALSE, $paymentProcessorId);
+ $this->_testAddFees(FALSE, FALSE, $processorName);
$this->openCiviPage('event/manage', 'reset=1');
$this->type('title', $eventTitle);
$this->click('_qf_SearchEvent_refresh');
$this->waitForElementPresent('search-status');
$this->assertElementContainsText('search-status', '2 Contact');
- $this->select("task", "label=Add Contacts to Group");
+ $this->select("task", "label=Group - add contacts");
$this->waitForPageToLoad($this->getTimeoutMsec());
* @param bool $priceSet
* @param int $processorId
*/
- public function _testAddFees($discount = FALSE, $priceSet = FALSE, $processorId) {
+ public function _testAddFees($discount = FALSE, $priceSet = FALSE, $processorName) {
// Go to Fees tab
$this->click("link=Fees");
$this->waitForElementPresent("_qf_Fee_upload-bottom");
$this->click("CIVICRM_QFID_1_is_monetary");
- $this->check("payment_processor[{$processorId}]");
+ $this->select2('payment_processor', $processorName, TRUE);
$this->select("financial_type_id", "value=4");
if ($priceSet) {
// get one - TBD
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->assertTrue(TRUE, 'greater than or equal to "{$Pdate}" AND less than or equal to "{$Ndate}"');
$value = "$lastNameSoft, $firstNameSoft";
+ $this->waitForElementPresent("xpath= id('rowid{$cid}')/td[3]/a");
$this->verifyText("xpath= id('rowid{$cid}')/td[3]/a", preg_quote($value));
}