projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #4749 from atif-shaikh/CRM-15729
[civicrm-core.git]
/
tests
/
phpunit
/
WebTest
/
Event
/
EventListingTest.php
diff --git
a/tests/phpunit/WebTest/Event/EventListingTest.php
b/tests/phpunit/WebTest/Event/EventListingTest.php
index 380e544117a46ff6e7ed068adb1657ca405022a6..dde4a8004df4a6297ae33f0c265be8e3a6a82e52 100644
(file)
--- a/
tests/phpunit/WebTest/Event/EventListingTest.php
+++ b/
tests/phpunit/WebTest/Event/EventListingTest.php
@@
-1,5
+1,9
@@
<?php
require_once 'CiviTest/CiviSeleniumTestCase.php';
<?php
require_once 'CiviTest/CiviSeleniumTestCase.php';
+
+/**
+ * Class WebTest_Event_EventListingTest
+ */
class WebTest_Event_EventListingTest extends CiviSeleniumTestCase {
protected function setUp() {
class WebTest_Event_EventListingTest extends CiviSeleniumTestCase {
protected function setUp() {
@@
-109,6
+113,11
@@
class WebTest_Event_EventListingTest extends CiviSeleniumTestCase {
$this->waitForTextPresent("The block settings have been updated.");
}
$this->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");
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());
// Wait for "saved" status msg
$this->waitForPageToLoad($this->getTimeoutMsec());
- $this->waitForText
Present("'
Location' information has been saved.");
+ $this->waitForText
("crm-notification-container", "'Event
Location' information has been saved.");
}
}
}
}