$this->type("sort_name", "Contributor");
$this->click('contribution_status_id_2');
- $this->click("_qf_Search_refresh");
+ $this->clickLink("_qf_Search_refresh");
- $this->waitForPageToLoad($this->getTimeoutMsec());
$this->click('radio_ts', 'ts_all');
$this->select('task', "label=Update Pending Contribution Status");
- $this->click("_qf_Search_next_action");
- $this->waitForPageToLoad($this->getTimeoutMsec());
+ $this->clickLink("_qf_Search_next_action");
$this->select('contribution_status_id', 'label=Completed');
$this->click('_qf_Status_next');
$this->waitForElementPresent("_qf_Result_done");
}
function _testOfflineContribution() {
- $firstName = substr(sha1(rand()), 0, 7);
- $lastName = 'Contributor';
- $email = $firstName . "@example.com";
-
$this->openCiviPage("contribute/add", "reset=1&context=standalone", "_qf_Contribution_upload");
// create new contact using dialog
- $this->webtestNewDialogContact($firstName, "Contributor", $email);
+ $this->createDialogContact();
// select financial type
$this->select( "financial_type_id", "value=1" );