From: Coleman Watts Date: Mon, 22 Sep 2014 15:52:11 +0000 (-0400) Subject: Webtest possible fix or customFieldSetLoadOnTheFlyCheck X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=87f534f96fcdde81067cefc65a7caf97be5fdf26;p=civicrm-core.git Webtest possible fix or customFieldSetLoadOnTheFlyCheck --- diff --git a/tests/phpunit/CiviTest/CiviSeleniumTestCase.php b/tests/phpunit/CiviTest/CiviSeleniumTestCase.php index 967dd3d3a9..9d85057f89 100644 --- a/tests/phpunit/CiviTest/CiviSeleniumTestCase.php +++ b/tests/phpunit/CiviTest/CiviSeleniumTestCase.php @@ -2078,14 +2078,15 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase { //add the custom set $return = $this->addCustomGroupField($customSets); - // Hack to ensure caches are properly cleared - // FIXME: This shouldn't be necessary, try to find root of the problem with *::testAjaxCustomGroupLoad + // FIXME: Hack to ensure caches are properly cleared if (TRUE) { $userName = $this->loggedInAs; $this->webtestLogout(); $this->webtestLogin($userName); } + $this->openCiviPage($pageUrl['url'], $pageUrl['args']); + // Open the page again just to make sure caches are cleared $this->openCiviPage($pageUrl['url'], $pageUrl['args']); foreach($return as $values) { foreach ($values as $entityType => $customData) {