-
Notifications
You must be signed in to change notification settings - Fork 14
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
#3924 - Ecert Creation - "Prefer not to answer" Gender #3927
#3924 - Ecert Creation - "Prefer not to answer" Gender #3927
Conversation
andrewsignori-aot
commented
Nov 13, 2024
•
edited
Loading
edited
- Update the gender to have a white space as a default option.
- Adjusted and created some E2E tests for e-Certs.
- Adjusted MSFAA E2E that was already using "preferNotToAnswer".
- SIN is using the same method from e-Cert and MSFAA.
Quality Gate passedIssues Measures |
// Gender should have at least one character code. | ||
// The default option as an empty space would represent | ||
// the "Prefer not to answer"(preferNotToAnswer) option. | ||
return " "; |
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.
👍
const recordParsed = new PartTimeCertRecordParser(record); | ||
expect(recordParsed.recordType).toBe("02"); | ||
expect(recordParsed.hasUser(student.user)).toBe(true); | ||
expect(recordParsed.gender).toBe(" "); |
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.
👍
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 adding the E-cert E2E test. Looks good. 👍
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.
LGTM, nice work @andrewsignori-aot