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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: Testing Infrastructure
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: