// visit event search page
$this->openCiviPage("event/search", "reset=1");
+ $eventTypeName = 'Fundraiser';
+ $this->select2("event_type_id", $eventTypeName);
$this->select('event_relative', "label=Choose Date Range");
$this->webtestFillDate('event_start_date_low', '-2 year');
$this->webtestFillDate('event_end_date_high', '+1 year');
- $eventTypeName = 'Fundraiser';
- $this->select2("event_type_id", $eventTypeName);
$this->clickLink("_qf_Search_refresh", "search-status");
// page was loaded
$this->waitForTextPresent($sourceText);
- $this->waitForElementPresent("xpath=//div[@id='memberships']//table/tbody/tr/td[9]/span/a[text()='View']");
+ $this->waitForElementPresent("xpath=//div[@class='dataTables_wrapper no-footer']/table/tbody/tr/td[9]/span[1]/a[1][text()='View']");
// click through to the membership view screen
- $this->click("xpath=//div[@id='memberships']//table/tbody/tr/td[9]/span/a[text()='View']");
+ $this->click("xpath=//div[@class='dataTables_wrapper no-footer']/table/tbody/tr/td[9]/span[1]/a[1][text()='View']");
$this->waitForElementPresent('_qf_MembershipView_cancel-bottom');