Debugging flaky specs - part 1

Everyone’s favorite topic: flaky specs. There is no one solution because it’s not one problem. But for the most part a flaky spec’s root cause will always come down to something introducing non-determinism. List of some common non-deterministic root causes: Specs can be run in a random order (which is a good thing). When one test leaks state, this can result in subsequent tests failing…