Skip to content

Conversation

@sh16011993
Copy link
Collaborator

@sh16011993 sh16011993 commented Sep 12, 2025

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:

image

@sh16011993 sh16011993 self-assigned this Sep 12, 2025
@sh16011993 sh16011993 changed the title Aviation Offering - e2e tests #4572 - Aviation Offering (e2e tests) Sep 12, 2025
Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot left a 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.

@sonarqubecloud
Copy link

@github-actions
Copy link

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 21.43% ( 4153 / 19381 )
Methods: 9.67% ( 239 / 2472 )
Lines: 24.77% ( 3594 / 14507 )
Branches: 13.32% ( 320 / 2402 )

@github-actions
Copy link

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 75.33% ( 974 / 1293 )
Methods: 78.08% ( 114 / 146 )
Lines: 78.25% ( 759 / 970 )
Branches: 57.06% ( 101 / 177 )

Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot left a 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 👍

@github-actions
Copy link

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 86.43% ( 1548 / 1791 )
Methods: 84.62% ( 176 / 208 )
Lines: 88.75% ( 1278 / 1440 )
Branches: 65.73% ( 94 / 143 )

@github-actions
Copy link

E2E SIMS API Coverage Report

Totals Coverage
Statements: 74.26% ( 7518 / 10124 )
Methods: 72.07% ( 921 / 1278 )
Lines: 77.63% ( 5821 / 7498 )
Branches: 57.57% ( 776 / 1348 )

@sh16011993 sh16011993 added this pull request to the merge queue Sep 16, 2025
Merged via the queue into main with commit b3ba937 Sep 16, 2025
22 checks passed
@sh16011993 sh16011993 deleted the 4572_Aviation_offering_e2e_tests branch September 16, 2025 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants