Skip to content

Events do not get observed, in multiple scenario testsΒ #1513

@Lausi95

Description

@Lausi95

I have a fairly simple repository with a number of application module tests.
These tests trigger a an event and expect another event to appear. When I run each test in isolation, they work fine. But when I run the whole test suite at once, some, seemingly random, scenarios won't catch the published events.
In the logs, you can see that they are published:
The Initial event got triggered,
then the MisterxErrorEvent is triggered. Therefore it should be seen by the scenario. But as you can see, it threw an exception because it seemingly did not receive the exception.

Image

This is the test in question:

Image

The test names were named to test because i wanted to find out what might be the problem, but i could not find anything on my side that could be off.

Cherry on top: When I deactivate some tests, OTHER tests fail.

The repository is here:
https://github.com/Lausi95/misterx

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