-
Notifications
You must be signed in to change notification settings - Fork 264
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 : add tests for pagination of progresses api #2328
base: develop
Are you sure you want to change the base?
test : add tests for pagination of progresses api #2328
Conversation
"The server has encountered an unexpected error. Please contact the administrator for more information.", | ||
}); |
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.
Don't we have a default / constant message here? Could you check how other parts of the application handle this?
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.
No we don't have any constant for this. You can check this test for refrence test
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.
Thanks for confirming. It's a good practice to have a consistent error message for 500 status codes across the application. Let's have a constant and use that in the future also. It'll help with future maintenance and keep the UX unified.
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.
Okay
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.
Hello @VinuB-Dev I am using constant value now can you please check. Thank you
Date: 30 Dec 2024
Developer Name: @AnujChhikara
Issue Ticket Number
Description
Addes tests for the pagination of the progresses API
Documentation Updated?
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
Screenshot 1
Test Coverage
Screenshot 1
Additional Notes
Added tests for PR - #2325