Closed hanskenis closed 7 years ago
Hmm, interesting. They should be using different agents for the state but perhaps something is not right and they somehow are (and with the async: true it randomizes the problem). I'll take a look into it soon. Thanks for reporting.
it seems like the state passed into a test is not always the state given in the setup function. When the state is updated, it uses that state in the following steps. Even across different scenarios.
reproduce
now when the scenario with state change is executed before the other, it fails. you can test with
mix test --seed 394964
Thx!