-
Notifications
You must be signed in to change notification settings - Fork 20
Jenkins test report shows test passed but in actual it failed #19
Comments
@nikhilesh009 is it the last test in the suite (last |
Yes, its last test in a describe block. is it possible that the test is stuck too at the end? |
@nikhilesh009 I wasn't able to reproduce this after trying different combinations of nested tests with various hooks. I would be happy to look more into this if you have a minimal reproducible spec file that demonstrates the problem. |
hi, i meet same issue in CI, the case was failed, but in report it is pass! |
Also, have the same issue in CI, we use buildkite. Any update about this issue? |
I was concern about test passing/failing, so i intentionally failed my test and then test on Jenkins, On Jenkins test report it shows correctly, the test failed, and in output 3 screenshot of the failed test.
|
Can anyone post the simple spec code that can reproduce this? I don't have time to guess and check dozens of combinations of passes/failures with/out hooks and such. |
Hi @bkucera I found the issue, when i add after hook to clear the cookies, the case will be marked as pass, even it is failed. `context('Window', () => { it('cy.window() - get the global window object', () => { |
@PansyLi awesome, I'll try to reproduce this again |
🎉 This issue has been resolved in version 1.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
when I ran the test on the test runner if a test failed after retires, it shows test failed, but i ran on Jenkins test failed but in the test result, it shows test passed but screenshot generated that shows test failed.
is it possible that generated screenshot shows the first attempt failed the test ?
The text was updated successfully, but these errors were encountered: