From e810b3ba75719b963d9121075b82a1087adc92e3 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 2 Apr 2015 11:18:00 -0400 Subject: [PATCH] Webtest comment fix --- tests/phpunit/WebTest/Mailing/AddMessageTemplateTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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"); -- 2.25.1