-
Notifications
You must be signed in to change notification settings - Fork 4
RAS-1797 SEFT Upload Error Message Behaviour #1089
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
Conversation
matthew-robinson-ons
left a comment
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.
Coverage looks good and the rework of the tests. The correct errors are shown individually and when there are multiple errors. As well as the stripping out of redundant code. Couple queries about the text of the last acceptance criteria and a variable name.
arroyoAle
left a comment
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.
Functionally works as expected for one or multiple errors, test coverage looks good. Agree with the other comments about following the design system and variable names
What and why?
Fixes the upload errors and allows multiple to be shown. I have rationalised the validation to one place and removed unnecessary code. I have also moved the majority of tests from view to unit as they should always have been. Extra tests have also been added as coverage was poor
How to test?
Create a SEFT CE and try uploading different files which would break validation
Jira