Retryable
Retryable copied to clipboard
Does not work with non-parallel tests + Fastlane
Non-parallel test runs incorrectly report captured flakes as failures, probably because Fastlane itself fails the run rather than Xcode.
Current workaround is to run tests in parallel since Fastlane doesn't see flakes as failures that way;
This is the line in Fastlane that's detecting the flakes as failures. https://github.com/fastlane/fastlane/blob/6b7251d7346f3e2e1014dacb0640ba43dcb94f0a/scan/lib/scan/runner.rb#L109
Obviously it could still break with parallel tests, but I really encourage you to use parallel tests asap for your iOS automation anyway if you're affected by this!