Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-4929

Unable to write async tests against events that are fired automatically with component creation

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.5
    • None
    • Testing Infrastructure
    • None

    Description

      When using the new testing framework there doesn't seem to be a way to register tests to ensure that events are fired, when they are tied to the components creation. For example if you were to add an event that was fired in conjunction with the components create on event.

      When creating a sequence, the listener sequence is added at the top, but the actual test just hangs. I'm assuming that this is because the event that the listener is bound to is fired before the listener is attached.

      Attachments

        Activity

          People

            jobara Justin Obara
            jobara Justin Obara
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: