$this->openCiviPage("contribute/search", "reset=1", "contribution_date_low");
$this->type("sort_name", "Individual");
+ $this->waitForElementPresent("contribution_status_id");
$this->multiselect2('contribution_status_id', array("Pending"));
$this->clickLink("_qf_Search_refresh");
$this->waitForAjaxContent();
$this->select('task', "label=Update pending contribution status");
$this->waitForAjaxContent();
+ $this->waitForElementPresent("contribution_status_id");
$this->select('contribution_status_id', 'label=Completed');
$this->waitForAjaxContent();
$this->click('_qf_Status_next');
$this->waitForElementPresent("contribution_date_low");
$this->type("sort_name", "Individual");
+ $this->waitForElementPresent("contribution_status_id");
$this->multiselect2('contribution_status_id', array("Completed"));
$this->click("_qf_Search_refresh");
$this->select("financial_type_id", "value=1");
//Contribution status
+ $this->waitForElementPresent("contribution_status_id");
$this->select("contribution_status_id", "label=Pending");
// total amount