-
Notifications
You must be signed in to change notification settings - Fork 13
#4572 - Aviation Offering (e2e tests) #5181
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
.../_tests_/e2e/education-program-offering.institutions.controller.validateOffering.e2e-spec.ts
Outdated
Show resolved
Hide resolved
.../_tests_/e2e/education-program-offering.institutions.controller.validateOffering.e2e-spec.ts
Outdated
Show resolved
Hide resolved
.../_tests_/e2e/education-program-offering.institutions.controller.validateOffering.e2e-spec.ts
Outdated
Show resolved
Hide resolved
.../_tests_/e2e/education-program-offering.institutions.controller.validateOffering.e2e-spec.ts
Outdated
Show resolved
Hide resolved
andrewsignori-aot
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.
Nice work, please take a look at the comments.
|
andrewsignori-aot
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.
Thanks for making the changes, looks good 👍



As a part of this PR, the following e2e tests have been written:
EducationProgramOfferingInstitutionsController(e2e)-validateOffering
√ Should return warning when a full-time program is not an aviation program but has an aviation offering.
√ Should return warning when a part-time program is an aviation program and has an aviation offering with a non matching aviation credential type.
√ Should return warning when a full-time program is an aviation program and has an aviation offering with funded weeks being more than the maximum allowed funded weeks for this aviation credential type.
√ Should return warning when a part-time program is an aviation program and has an aviation offering with a private pilot training aviation credential type.
√ Should return error when a full-time program is an aviation program and has an aviation offering that is not one of the allowed aviation credential type - private pilot training, instructors rating, commercial pilot training or endorsements.
√ Should return error when a full-time program is an aviation program and offering is not selected as one of the following options: yes,no.
Screenshot: