- $this->assertTrue($this->isTextPresent("Event registration for $displayName has been added"), "Status message didn't show up after saving!");
+ $this->waitForText("crm-notification-container", "Event registration for $displayName has been added", "Status message didn't show up after saving!");