$this->click("address_1_country_id");
$this->select("address_1_country_id", "value=" . $this->webtestGetValidCountryID());
- if($this->assertElementContainsText('address_1', "Latitude")) {
+ if ($this->assertElementContainsText('address_1', "Latitude")) {
$this->type("address_1_geo_code_1", "1234");
$this->type("address_1_geo_code_2", "5678");
$this->click("address_2_country_id");
$this->select("address_2_country_id", "value=" . $this->webtestGetValidCountryID());
- if($this->assertElementContainsText('address_2', "Latitude")) {
+ if ($this->assertElementContainsText('address_2', "Latitude")) {
$this->type("address_2_geo_code_1", "1234");
$this->type("address_2_geo_code_2", "5678");
}
function testHouseholdAdd() {
$this->webtestLogin();
- // go to display preferences to enable Open ID field
+ // go to display preferences to enable Open ID field
$this->openCiviPage('admin/setting/preferences/display', "reset=1", "_qf_Display_next-bottom");
$this->check("xpath=//ul[@id='contactEditBlocks']//li/span[2]/label[text()='Open ID']/../input");
$this->click("_qf_Display_next-bottom");
$this->click("_qf_Contact_upload_view");
$this->waitForPageToLoad($this->getTimeoutMsec());
$name = $this->getText("xpath=//div[@class='crm-summary-display_name']");
- $this->waitForText('crm-notification-container', "$name has been created.");
+ $this->waitForText('crm-notification-container', "$name has been created.");
//make sure current employer is set
$this->verifyText("xpath=id('contactinfo-block')/div/div/div[2]/div", 'Employer');