$this->openCiviPage("event/search?reset=1", "reset=1");
$this->select2("event_id", $eventTitle, FALSE);
- $this->click("xpath=//div[@id='searchForm']/table/tbody/tr[5]/td[1]/div//div/label[text()='Pending from pay later']");
+ $this->multiselect2('participant_status_id', array('Pending from pay later'));
$this->clickLink('_qf_Search_refresh');
$this->waitForElementPresent("xpath=//div[@id='participantSearch']/table/tbody//tr/td[11]/span/a[2][text()='Edit']");
$this->openCiviPage("event/search?reset=1", "reset=1");
$this->select2("event_id", $eventTitle, FALSE);
- $this->click("xpath=//td[@class='crm-event-form-block-participant_status']/div[@class='listing-box']//div/label[text()='Pending from pay later']");
+ $this->multiselect2('participant_status_id', array('Pending from pay later'));
$this->clickLink('_qf_Search_refresh');
$this->waitForElementPresent("xpath=//div[@id='participantSearch']/table/tbody//tr/td[11]/span/a[text()='View']");
$uRL = $this->getAttribute("xpath=//div[@id='participantSearch']/table/tbody//tr/td[11]/span/a[text()='View']@href");
$this->_testDefaultSenarios("National_Membership_{$title}-section", 1);
$this->contactInfoFill($firstName, $lastName, $email, $contactParams, $streetAddress);
- $this->clickLink("_qf_Main_upload-bottom", "_qf_Confirm_next-bottom");
+ $this->clickLink("_qf_Main_upload-bottom", "_qf_Main_upload-bottom");
+ $this->assertTrue($this->isTextPresent("You already have a lifetime membership and cannot select a membership with a shorter term."));
}
/**
$this->select("field_name_2", "value=2");
// click on Save buttonProfile Field Saved
- $this->clickLink('_qf_Field_next-bottom', "xpath=//a/span[text()='Add Field']", FALSE);
+ $this->clickLink('_qf_Field_next-bottom', "xpath=//a/span[text()=' Add Field']", FALSE);
// Wait for "saved" status msg
$this->waitForText('crm-notification-container', "Profile Field Saved");
$id = $id[1];
// click on Edit Settings
- $this->clickLink("xpath=//a/span[text()='Edit Settings']", '_qf_Group_next-bottom', FALSE);
+ $this->clickLink("xpath=//a/span[text()=' Edit Settings']", '_qf_Group_next-bottom', FALSE);
// check for description field
$this->waitForElementPresent('description');
$this->assertEquals($this->getValue('description'), $profileDescription);
// click on save button
- $this->clickLink('_qf_Group_next-bottom', "xpath=//a/span[text()='Edit Settings']", FALSE);
+ $this->clickLink('_qf_Group_next-bottom', "xpath=//a/span[text()=' Edit Settings']", FALSE);
// Wait for "saved" status msg
$this->waitForText('crm-notification-container', 'Profile Saved');