-
Notifications
You must be signed in to change notification settings - Fork 116
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
Test phrase passed even though Test cases failed #2745
Comments
Hi @andychoww 👋 thanks for raising this issue. This seems to be related to Amplify Hosting's CI/CD pipeline. I will transfer this over to the hosting team's repo for better support and feedback. |
Hi @andychoww 👋🏽 can you try implementing the workaround suggested here please: #2409 (comment) |
Hi @hloriana tried but the test phrase still passes
|
I even tried below but still not working
|
@andychoww please add
|
@hloriana I have added that in
|
Thank you for testing that out @andychoww. We are tracking this as a bug and will update you once it's been fixed. In the mean time, we are still investigating a possible workaround. Thank you for your patience! |
Solution from @hloriana is about Cypress test, but @andychoww report about Jest tests. |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
Not applicable
Amplify Categories
hosting
Environment information
Describe the bug
The Jest test cases fail on Test Phrase in Amplify pipeline, but it still continue to proceed instead of stopping.
Expected behavior
The Test Phrase should be failed and stop proceeding to Deploy Phrase
Reproduction steps
Code Snippet
// Put your code below this line.
Jest.config.ts
amplify.yml
Log output
The text was updated successfully, but these errors were encountered: