$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(
$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');