$this->waitForElementPresent("group_id");
// add to group
+ $this->waitForElementPresent("group_id");
$this->select("group_id", "label=$groupName");
$this->click("_qf_GroupContact_next");
$this->waitForElementPresent('link=Remove');
);
// click through to the membership view screen
- $this->click("xpath=//div[@id='memberships']//table//tbody/tr[1]/td[9]/span/a[text()='View']");
+ $this->click("xpath=//div[@id='memberships']//table//tbody/tr[1]/td[9]//span/a[text()='View']");
$this->waitForElementPresent("_qf_MembershipView_cancel-bottom");
$this->webtestVerifyTabularData(array('Campaign' => $campaignTitle));
$sortName = "adv$firstName, $firstName";
$displayName = "$firstName adv$firstName";
- $this->_searchBuilder("Postal Code", "100[0-9]", $sortName, "RLIKE");
+ $this->_searchBuilder("ZIP / Postal Code", "100[0-9]", $sortName, "RLIKE");
}
/**
$this->_createContact('Household', $firstName7, "$firstName7@advsearch.co.in", NULL, $postalCode);
// check if the resultset of search builder and advanced search match for the postal code
- $this->_searchBuilder('Postal Code', $postalCode, NULL, 'LIKE', '4');
+ $this->_searchBuilder('ZIP / Postal Code', $postalCode, NULL, 'LIKE', '4');
$this->_advancedSearch($postalCode, NULL, NULL, '4', 'postal_code');
$firstName8 = "abcc" . substr(sha1(rand()), 0, 7);
$this->waitForElementPresent("product_name_0");
$this->select('product_name_0', "value=0");
// Clicking save.
- $this->clickLink("_qf_Contribution_upload", "xpath=//div[@class='view-content']//table[@class='selector row-highlight']//tbody/tr[1]/td[7][not(text())]", FALSE);
+ $this->click("_qf_Contribution_upload");
+ $this->waitForElementPresent("xpath=//table[@class='selector row-highlight']/tbody/tr[1]/td[8]//span/a[text()='View']");
//Assertions
$actualAmount = $this->_getPremiumActualCost($contId, $from, $to, NULL, "'civicrm_contribution'");
$this->waitForElementPresent("xpath=id('participantSearch')/table/tbody/tr/td[11]/span/a[text()='Edit']");
$this->click("xpath=id('participantSearch')/table/tbody/tr/td[11]/span/a[text()='Edit']");
- $this->waitForTextPresent("Edit Event Registration");
+ $this->waitForElementPresent("xpath=//button//span[contains(text(),'Save')]");
// ensure we get to particpant view
$stringsToCheck = array(