+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$this->waitForElementPresent("xpath=//a[text()='$firstName $lastName']");
$this->click("xpath=//a[text()='$firstName $lastName']/../../td[8]/a[text()='merge']");
$this->waitForElementPresent('_qf_Merge_cancel-bottom');
- $this->clickLink("css=div.crm-contact-merge-form-block div.action-link a", "xpath=//form[@id='Merge']/div[2]/table/tbody/tr[3]/td[4]/span[text()='(overwrite)']", FALSE);
+ $this->clickLink("css=div.crm-contact-merge-form-block div.action-link a");
+
+ $this->waitForElementPresent("xpath=//form[@id='Merge']/div[2]/table/tbody/tr[3]/td[4]/span[text()='(overwrite)']");
$this->waitForElementPresent("xpath=//form[@id='Merge']/div[2]/table/tbody/tr[5]/td[4]/span[text()='(add)']");
$this->waitForElementPresent('_qf_Merge_cancel-bottom');
// add relationship "Employer of"
// click through to the relationship view screen
+ $this->waitForAjaxContent();
$this->click("css=li#tab_rel a");
// wait for add Relationship link
// add relationship "Employer of"
// click through to the relationship view screen
+ $this->waitForAjaxContent();
$this->click("css=li#tab_rel a");
// wait for add Relationship link
$this->waitForPageToLoad($this->getTimeoutMsec());
// click through to the relationship view screen
+ $this->waitForAjaxContent();
$this->click("css=li#tab_rel a");
// wait for add Relationship link