X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FEvent%2FEventListingTest.php;h=dde4a8004df4a6297ae33f0c265be8e3a6a82e52;hb=63e91f559645ec20ff4bcce59ea8c5cad7ced61e;hp=380e544117a46ff6e7ed068adb1657ca405022a6;hpb=52df19870805bf5a2bae2388a1f6c5a0309c2d92;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Event/EventListingTest.php b/tests/phpunit/WebTest/Event/EventListingTest.php index 380e544117..dde4a8004d 100644 --- a/tests/phpunit/WebTest/Event/EventListingTest.php +++ b/tests/phpunit/WebTest/Event/EventListingTest.php @@ -1,5 +1,9 @@ waitForTextPresent("The block settings have been updated."); } + /** + * @param $eventTitle + * @param $startdate + * @param $enddate + */ function _testCreateEvent($eventTitle, $startdate, $enddate) { $this->openCiviPage("event/add", "reset=1&action=add"); @@ -151,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."); } }