$this->_fillData($data[$i], $i, "Membership");
}
$this->click("_qf_Entry_cancel");
- $this->waitForPageToLoad($this->getTimeoutMsec());
$this->_verifyData($data, "Membership");
}
* @param $type
*/
public function _verifyData($data, $type) {
- $this->waitForElementPresent("xpath=//table[@id='DataTables_Table_0']/tbody//tr/td[7]/span/a[1][text()='Enter records']");
- $this->click("xpath=//table[@id='DataTables_Table_0']/tbody//tr/td[7]/span/a[1][text()='Enter records']");
+ $this->waitForElementPresent("xpath=//div[@class='dataTables_wrapper no-footer']/table/tbody//tr//td/span/a[1][contains(text(),'Enter records')]");
+ $this->click("xpath=//div[@class='dataTables_wrapper no-footer']/table/tbody//tr//td/span/a[1]");
$this->waitForElementPresent('_qf_Entry_upload');
$this->click("_qf_Entry_upload");
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->_checkPaymentInfoTable(800.00, 400.00);
$balance = 800.00 - 400.00;
//click through to the contribution view screen
+ $this-> waitForElementPresent("xpath=id('ParticipantView')/div[2]/table[@class='selector row-highlight']/tbody/tr[1]/td[8]/span/a[text()='View']");
$this->click("xpath=id('ParticipantView')/div[2]/table[@class='selector row-highlight']/tbody/tr[1]/td[8]/span/a[text()='View']");
$this->waitForElementPresent("xpath=//button//span[contains(text(),'Done')]");
$this->openCiviPage("admin/member/membershipType", "reset=1&action=browse");
$this->click("link=Add Membership Type");
- $this->waitForElementPresent('_qf_MembershipType_cancel-bottom');
+ $this->waitForElementPresent("xpath=//button//span[contains(text(),'Cancel')]");
$this->type('name', "Membership Type $title");
$this->select2('member_of_contact_id', $title);