Skip to content

Need Integration Tests #5

@ifandelse

Description

@ifandelse

Our specs should include an integration test where:

  • test runner (parent) has two iframes (child 1, child 2) in the document
  • parent and children need to federate
  • parent should:
    • broadcast an identical message to both children that both children are configured to listen for via the filters
    • broadcast a message that only child 1 will receive
    • broadcast a message that only child 2 will receive
  • the children should reply to the above messages on a different channel/topic to which the parent is listening.
  • when the parent receives the replies, the tests pass
  • this should be using mocha/should/expect

I don't have a problem with this activity running the main test runner under a top level describe indicating it's an integration test, etc., but am also open to it running in a separate integration.html test runner...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions