Skip to content

Integration tests fail first time on a new installation #14

@kentquirk

Description

@kentquirk

I've had this happen twice after a clean checkout -- run grunt test and see this:

    messaging for mrT1
      ✓ allows mrT1 to add a note (124ms)
      ✓ and add a comment on the note (42ms)
      ✓ and then get the whole thread (55ms)
      1) allows mrT1 to get all messages for his team for the last two weeks
      ✓ allows mrT1 to get just the parent messages for his team  (49ms)

...

  20 passing (2s)
  1 failing

  1) platform client messaging for mrT1 allows mrT1 to get all messages for his team for the last two weeks:
     Uncaught AssertionError: expected 1 to be at least 2

When you run the test a second time, it works. Is the test reliant on having data around from previous tests? This isn't critical, but should be addressed someday.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions