Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-15031

Webtest fixes for Configure Events UI changes

    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

            Activity

              People

              • Assignee:
                rohan1990 Rohan Ramesh Katkar
                Reporter:
                dgg David Greenberg
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: