*/
require_once 'CiviTest/CiviSeleniumTestCase.php';
+
+/**
+ * Class WebTest_Contact_AddContactsToEventAdvancedSearchTest
+ */
class WebTest_Contact_AddContactsToEventAdvancedSearchTest extends CiviSeleniumTestCase {
protected function setUp() {
$this->click('CIVICRM_QFID_ts_all_8');
$this->select('task', "label=Add Contacts to Event");
- $this->click('Go');
+
// Select event. Based on label for now.
$this->waitForElementPresent('event_id');
$this->select2('event_id', "Rain-forest Cup Youth Soccer Tournament");
// Select role
- $this->click('role_id[2]');
+ $this->multiselect2('role_id', array('Volunteer'));
// Select participant status
$this->select('status_id', 'value=1');