Merge pull request #4749 from atif-shaikh/CRM-15729
[civicrm-core.git] / tests / phpunit / WebTest / Event / EventListingTest.php
index 5aad33f7014b9071cb590dd988229869aaeea11c..dde4a8004df4a6297ae33f0c265be8e3a6a82e52 100644 (file)
@@ -1,5 +1,9 @@
 <?php
 require_once 'CiviTest/CiviSeleniumTestCase.php';
+
+/**
+ * Class WebTest_Event_EventListingTest
+ */
 class WebTest_Event_EventListingTest extends CiviSeleniumTestCase {
 
   protected function setUp() {
@@ -156,7 +160,7 @@ class WebTest_Event_EventListingTest extends CiviSeleniumTestCase {
 
     // Wait for "saved" status msg
     $this->waitForPageToLoad($this->getTimeoutMsec());
-    $this->waitForTextPresent("'Location' information has been saved.");
+    $this->waitForText("crm-notification-container", "'Event Location' information has been saved.");
   }
 }