-
Notifications
You must be signed in to change notification settings - Fork 82
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
Tests sometimes fail with ** (MatchError) no match of right hand side value: false
#111
Comments
So is the same test failing/passing ephemerally? Could you provide some example code so we can debug together? |
Here is shortened version of test that still reproduces the error, I hope It will be engouh. Here is is sample of failed test output
And one more detail: Our project uses umbrella. The case with flicker failing tests reporoduces only when running tests from the root direcrory of the whole project. When running from the directory of the application with specific test - the test always pass |
Hmm... Given that you said this: Can you try updating this line with Reference: https://hexdocs.pm/ex_unit/ExUnit.Case.html |
No, tests are not asynchronous, if add |
In some our tests we have plenty of mocks and sometimes tests fail with
Everything is defenitely Ok with mocks itself - tests usually pass, but still it is rather annoying when you have lots of such tests and they sometimes fail for no reason :(
The text was updated successfully, but these errors were encountered: