From: Coleman Watts Date: Sun, 28 Sep 2014 02:28:29 +0000 (-0400) Subject: Additional webtest error check X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a2cfaf9e371edf4ae7d189edf52e8a927b9d9146;p=civicrm-core.git Additional webtest error check --- diff --git a/tests/phpunit/CiviTest/CiviSeleniumTestCase.php b/tests/phpunit/CiviTest/CiviSeleniumTestCase.php index c097dc8776..87841500ba 100644 --- a/tests/phpunit/CiviTest/CiviSeleniumTestCase.php +++ b/tests/phpunit/CiviTest/CiviSeleniumTestCase.php @@ -2131,6 +2131,10 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase { $this->select2($elementName, $entityData); } } + // FIXME: Try to find out what the heck is going on with these tests + $this->waitForAjaxContent(); + $this->checkForErrorsOnPage(); + //checking for proper custom data which is loading through ajax $this->waitForElementPresent("xpath=//div[contains(@class, 'custom-group-{$customData['cgtitle']}')]"); $this->assertElementPresent("xpath=//div[contains(@class, 'custom-group-{$customData['cgtitle']}')]/div[contains(@class, 'crm-accordion-body')]/table/tbody/tr/td[2]/input",