$this->waitForText('crm-notification-container', "Campaign $title");
- $this->waitForElementPresent("//div[@id='campaignList']/div[@class='dataTables_wrapper no-footer']/table/tbody/tr/td[text()='{$campaignTitle}']/../td[1]");
- $id = (int) $this->getText("//div[@id='campaignList']/div[@class='dataTables_wrapper no-footer']/table/tbody/tr/td[text()='{$campaignTitle}']/../td[1]");
+ $this->waitForElementPresent("//div[@id='campaignList']/div/table/tbody/tr/td[3]/div[text()='{$campaignTitle}']/../../td[1]");
+ $id = (int) $this->getText("//div[@id='campaignList']/div/table/tbody/tr/td[3]/div[text()='{$campaignTitle}']/../../td[1]");
$this->memberAddTest($campaignTitle, $id);
}
$this->clickPopupLink("xpath=//table[@class='caseSelector']/tbody//tr/td[3]/a[text()='{$lastName}, {$firstName}']/../../td[11]/span[2]/ul/li/a[contains(text(),'Assign to Another Client')]");
$client = $this->createDialogContact("reassign_contact_id");
- $this->click('_qf_EditClient_done-bottom');
- $this->verifyText("xpath=//table[@class='caseSelector']/tbody//tr/td[3]/a", $firstName);
- $this->verifyText("xpath=//table[@class='caseSelector']/tbody//tr/td[6]", $caseTypeLabel);
+ $this->clickLink('_qf_EditClient_done-bottom');
+ $this->assertElementContainsText('page-title', "{$client['display_name']} - $caseTypeLabel");
}
}
$this->openCiviPage("contribute/search", "reset=1", "contribution_date_low");
$this->type("sort_name", "Individual");
- $this->click('contribution_status_id');
+ $this->multiselect2('contribution_status_id', array("Pending"));
$this->clickLink("_qf_Search_refresh");
$this->click('radio_ts', 'ts_all');
$this->waitForElementPresent("contribution_date_low");
$this->type("sort_name", "Individual");
- $this->click('contribution_status_id');
+ $this->multiselect2('contribution_status_id', array("Completed"));
$this->click("_qf_Search_refresh");
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->waitForElementPresent('_qf_Search_refresh');
$eventName = "Fall Fundraiser Dinner";
+ $this->waitForElementPresent("event_id");
$this->select2("event_id", $eventName);
$this->clickLink("_qf_Search_refresh", "search-status");
$eventTypeName = 'Fundraiser';
$this->waitForElementPresent('event_type_id');
$this->select2("event_type_id", $eventTypeName);
+ $this->waitForElementPresent('event_relative');
$this->select('event_relative', "label=Choose Date Range");
$this->webtestFillDate('event_start_date_low', '-2 year');
$this->webtestFillDate('event_end_date_high', '+1 year');