-
Notifications
You must be signed in to change notification settings - Fork 35
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
Services test #13664
Services test #13664
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Matches (go mod and sum changes on int pr can be ignored)
Bundle StatsHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded
Removed
Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hash matches up with INT PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Matches INT. Test passes locally too. I've encountered similar behavior with other error messages, those must not have tests. Definitely something to keep an eye out for in other places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!!!!!
Very possible they just don't have tests. I found that the test for some reason cause the useEffect to be called multiple times which overrides the error message and sets it to null. UseEffect is supposed to be called on page render or if you specify variables in the useEffect it would call if those variable values changed. The value wasn't changing so my assumption is the tests cause multiple page renders to happen. |
INT PR
Summary
Fix flaky test for ServicesCounselingEditShipmentDetails.
This is due to the test setting the error message but the useEffect for the date holiday weekend check is being called and resets the error message to null.
Verification Steps for the Author
These are to be checked by the author.
Verification Steps for Reviewers
These are to be checked by a reviewer.
Setup to Run the Code
How to test
Frontend
officeApp
class or custommin-width
styling is used to hide any states the would not be visible to the user.Backend
Database
Any new migrations/schema changes:
Screenshots