+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
// Select the contacts to be merged
$this->waitForElementPresent('dupePairs_length');
- $this->select("name=dupePairs_length", "value=100");
$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');
$this->openCiviPage("contact/dedupefind", "reset=1&rgid=1&action=renew", "dupePairs");
$this->waitForElementPresent('dupePairs_length');
+ $this->select("name=dupePairs_length", "value=100");
$totalContacts = $this->getXpathCount("//table[@id='dupePairs']/tbody/tr");
$this->click("//form[@id='DedupeFind']//a/span[contains(text(),' Batch Merge All Duplicates')]");
// 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