function testContactContextAddTest() {
$this->webtestLogin();
+ // Disable pop-ups for this test. Running test w/ pop-ups causes a spurious failure. dgg
+ $this->enableDisablePopups(FALSE);
// create unique name
$name = substr(sha1(rand()), 0, 7);
$this->waitForElementPresent("xpath=//div[@class='view-content']//table[@class='selector row-highlight']//tbody/tr[1]/td[1]/span/a");
$this->click("xpath=//div[@class='view-content']//table[@class='selector row-highlight']//tbody/tr[1]/td[1]/span/a");
$this->waitForElementPresent("xpath=//div[@class='view-content']//table//tbody//tr//td[2]/table/tbody/tr[2]/td[8]/a[text()='Record Payment']");
+ // Re-enable pop-ups to leave things in the same state
+ $this->enableDisablePopups(TRUE);
}
}