-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Flapping Tests #116
Comments
Here's the relevant expectation class
My only guess is that there's a delay in the current_path so that when it's checked it's different than when the failure message is made but that seems like it would need a fair amount of delay between the two |
Thanks, @matthewmcgarvey! I'm going to try a few things to see if I can get this to happen locally. Until then I'd just be taking shots in the dark in a PR. I at least wanted to make sure we had an issue in case folks came searching for the same problem, though :) |
I got the exact same error locally. My flow/spec had this:
Add added a sleep to get it to work.
Not sure if there might be a more elegant solution, but perhaps this helps, so we can add a fix to the framework? |
I'm currently leveraging LuckyFlow to test the entirety of https://luckycasts.com
I've never had an issue in my development environment, but in GitHub Actions I continue to get random tests that will fail with content like this:
If I re-run the job, everything is fine and the test passes without any changes.
Here's that spec code:
Here's the relevant GitHub workflow definition parts:
The text was updated successfully, but these errors were encountered: