Details
-
Type: Task
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5
-
Fix Version/s: 4.5
-
Component/s: CiviEvent, Test suite
-
Labels:None
-
Documentation Required?:None
Description
Many of the Event webtests are broken due to changes in the Manage Events UI (and some general UI changes, and some Selenium changes).
- Notifications need to be updated. For example, in WebTest_Event_AddEventTest::_testAddLocation()
$this->waitForTextPresent("'Location' information has been saved.");
Needs to be replace with:
$this->waitForText('crm-notification-container', "'Location' information has been saved.");
Not sure how many instances throughout the test suite (some have already been fixed). Maybe grep for 'has been saved' :-0
- $this->check("some-id") no longer works for checkboxes that trigger a jQuery action (e.g. show a hidden div). We need to use $this->click("some-id")
Committing some partial fixes and will create a wiki page to track this tomorrow.
Attachments
Issue Links
- has patch in
-
CRM-15063 Bugs found during webtest fixes
- Done/Fixed