-
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
#2463 - E2E Tests - Workflow - Part-time Grants Eligibility #2506
Conversation
sources/packages/backend/workflow/BPMN/camunda-8/parttime-assessment-2021-2022.bpmn
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-BCAG.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-CSGD.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-CSGD.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-CSGD.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-SBSD.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-SBSD.e2e-spec.ts
Outdated
Show resolved
Hide resolved
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.
Good job! I left some comments.
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-BCAG.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-CSGD.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-CSGD.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-BCAG.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-BCAG.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-CSGP.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-CSGP.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-CSGP.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-CSGD.e2e-spec.ts
Outdated
Show resolved
Hide resolved
const assessmentConsolidatedData = | ||
createFakeConsolidatedPartTimeData(PROGRAM_YEAR); | ||
// No total eligible dependant. | ||
assessmentConsolidatedData.studentDataDependants = undefined; |
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.
By default it is null, do we need 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.
just wanted to show explicitly the scenario mentioned in the description, as we do for other TC
...est/2023-2024/parttime-assessment/parttime-assessment-2023-2024-eligibility-CSPT.e2e-spec.ts
Outdated
Show resolved
Hide resolved
InstitutionTypes.BCPrivate, | ||
]; | ||
|
||
describe("Should determine SBSD as eligible when total assessment need is greater than or equal to 1, application PD/PPD status is 'yes' and", () => { |
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.
The comment could be explicit about institution type. (BCPublic or BCPrivate)
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.
} | ||
}); | ||
|
||
it(`Should determine SBSD as not eligible when institution type is ${InstitutionTypes.International}.`, async () => { |
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.
The comment could be explicit about institution type. (BCPublic or BCPrivate).
The test can also run for both BC public and private like the way we did for credential types.
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.
I later edited my comment mentioning we can run a test for bcpublic and bcprivate and one outside this for negative scenario.
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.
I did not refresh the source code downloaded to local. All good now 😊
Great job @ann-aot . Added few comments. |
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 doing the changes 👍
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 doing the changes. 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 @ann-aot
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage 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.
Thanks for making the changes, looks good 👍
Screenshots
CSPT
CSGP
CSGD
BCAG
SBSD