+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2016 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$this->click('link=Register Now');
$this->waitForElementPresent('_qf_Register_upload-bottom');
- $this->type("xpath=//input[@class='four crm-form-text required']", '1');
+ $this->type("xpath=//div[@id='priceset']/div[@class='crm-section full_conference-section']//div/input[@class='four crm-form-text required']", '1');
$email = 'jane_' . substr(sha1(rand()), 0, 5) . '@example.org';
$participants[1] = array(
// register for event
$this->click('link=Register Now');
$this->waitForElementPresent('_qf_Register_upload-bottom');
-
- $this->type("xpath=//input[@class='four crm-form-text required']", '2');
+ $this->type("xpath=//div[@id='priceset']/div[@class='crm-section full_conference-section']//div/input[@class='four crm-form-text required']", '2');
$email = 'jane_' . substr(sha1(rand()), 0, 5) . '@example.org';
$participants[2] = array(
// Find Participant
$this->openCiviPage('event/search', 'reset=1', 'participant_fee_amount_low');
+ $this->waitForElementPresent('event_id');
$this->select2("event_id", $eventTitle);
$this->click('_qf_Search_refresh');
$this->waitForPageToLoad($this->getTimeoutMsec());
// verify number of participants records and total participant count
+ $this->waitForAjaxContent();
$this->assertStringsPresent(array('2 Results', 'Actual participant count : 24'));
// CRM-7953, check custom search Price Set Details for Event
$this->openCiviPage('admin/price', 'reset=1&action=add', '_qf_Set_next-bottom');
// Enter Priceset fields (Title, Used For ...)
+ $this->waitForElementPresent("title");
$this->type('title', $setTitle);
$this->check('extends[1]');
$this->select("css=select.crm-form-select", "label={$financialType}");
+ $this->waitForElementPresent("help_pre");
$this->type('help_pre', 'This is test priceset.');
$this->assertChecked('is_active', 'Verify that Is Active checkbox is set.');
$this->assertChecked('is_online_registration');
$this->click('intro_text');
- $this->fillRichTextField('intro_text', 'Fill in all the fields below and click Continue.');
+ $this->fillRichTextField('intro_text', 'Fill in all the fields below and click Continue.', 'CKEditor', TRUE);
// enable confirmation email
$this->click('CIVICRM_QFID_1_is_email_confirm');
$this->select('billing_state_province_id-5', 'value=1004');
$this->type('billing_postal_code-5', '94129');
- $this->clickLink('_qf_Register_upload-bottom', '_qf_Confirm_next-bottom');
+ $this->clickLink('_qf_Register_upload-bottom', '_qf_Confirm_next-bottom', FALSE);
$confirmStrings = array('Event Fee(s)', 'Billing Name and Address', 'Credit Card Information');
$this->assertStringsPresent($confirmStrings);
$this->click('_qf_Confirm_next-bottom');