From: Coleman Watts Date: Thu, 2 Apr 2015 15:18:00 +0000 (-0400) Subject: Webtest comment fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e810b3ba75719b963d9121075b82a1087adc92e3;p=civicrm-core.git Webtest comment fix --- diff --git a/tests/phpunit/WebTest/Mailing/AddMessageTemplateTest.php b/tests/phpunit/WebTest/Mailing/AddMessageTemplateTest.php index 0ac9ba1b32..6d9c5af114 100644 --- a/tests/phpunit/WebTest/Mailing/AddMessageTemplateTest.php +++ b/tests/phpunit/WebTest/Mailing/AddMessageTemplateTest.php @@ -120,9 +120,7 @@ class WebTest_Mailing_AddMessageTemplateTest extends CiviSeleniumTestCase { $this->waitForTextPresent("~1 recipient"); $this->click("msg_template_id"); $this->select("msg_template_id", "label=$msgTitle"); - // Because it tends to cause problems, all uses of sleep() must be justified in comments - // Sleep should never be used for wait for anything to load from the server - // Justification for this instance: FIXME + $this->waitForAjaxContent(); $this->select2('s2id_autogen1', "Unsubscribe via web page"); $this->select2('s2id_autogen1', "Domain (organization) address");