From 74216bea1e0deb16c6962256b5a7fc29d8695d39 Mon Sep 17 00:00:00 2001 From: kurund Date: Wed, 14 Aug 2013 12:37:52 +0530 Subject: [PATCH] fixes WebTest_Profile_ProfileGroupSubscriptionTest --- tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php b/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php index 6b10ca9f66..94fec4f6d5 100644 --- a/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php +++ b/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php @@ -116,7 +116,8 @@ class WebTest_Profile_ProfileGroupSubscriptionTest extends CiviSeleniumTestCase $this->waitForPageToLoad($this->getTimeoutMsec()); // assert for subscription message - $this->assertElementContainsText('css=div.messages', "Your subscription request has been submitted for group ", "Subscription message is not shown"); + $this->waitForText('messages', "Your subscription request has been submitted for group ", + "Subscription message is not shown"); //check if profile is saved $this->assertElementContainsText('css=span.msg-text', 'Your information has been saved.', 'Profile is not saved'); -- 2.25.1