Metadata
- Source
- SJRK-245
- Type
- Task
- Priority
- Major
- Status
- Open
- Resolution
- N/A
- Assignee
- N/A
- Reporter
- Gregor Moss
- Created
2019-04-16T17:53:50.267-0400 - Updated
2019-04-16T17:53:50.267-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Storytelling Tool Server
Description
Add integration tests for the listeners defined on the server's three datasource components. If SJRK-244 is completed first, this could take advantage of the fluid.loggingEvent to set up listeners in the test sequence.
https://github.com/fluid-project/infusion/blob/master/src/framework/core/js/Fluid.js#L325
Due to the nature of fluid.loggingEvent as a dynamically-constructed entity, it may be necessary to set up a custom event in the test server that is manually bound to fluid.loggingEvent using the addListener function at the start of the test sequence, and then listen for that custom event later on in the sequence.