+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
default:
break;
}
- $this->clickLink('_qf_Field_next_new-bottom', '_qf_Field_next-bottom');
+ $this->clickLink('_qf_Field_next_new-bottom', '_qf_Field_next-bottom', FALSE);
$this->waitForText('crm-notification-container', "Price Field '" . $label . "' has been saved.");
}
}
$this->openCiviPage('admin/price', 'reset=1');
// Use the price set id ($sid) to pick the correct row
- $this->clickLink("//*[@id='price_set-{$sid}']/td[4]/span[1]/a[2]", '_qf_Preview_cancel-bottom');
+ $this->clickLink("//*[@id='price_set-{$sid}']/td[4]/span[1]/a[2]", '_qf_Preview_cancel-bottom', FALSE);
// Check for expected price set field strings
if ($this->isElementPresent("xpath=//*[@class ='select2-chosen']")) {
$this->openCiviPage('event/search', "reset=1", '_qf_Search_refresh');
$this->select2('participant_fee_id', 'First Night Edited');
$this->click('_qf_Search_refresh');
- $this->clickLink("xpath=//div[@id='participantSearch']//table//tbody/tr[1]/td[11]/span//a[text()='View']", "xpath=//span[contains(text(), 'Done')]", FALSE);
+ $this->waitForAjaxContent();
+ $this->clickLink("xpath=//form[@class='CRM_Event_Form_Search crm-search-form']//div[3]/div/div[2]//table//tbody/tr[1]/td[11]/span//a[text()='View']", "xpath=//span[contains(text(), 'Done')]", FALSE);
$expectedLineItems[4][1] = 'Evening Sessions - First Night Edited';
$this->_checkLineItems($expectedLineItems);
}