Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions test/engagement.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1071,11 +1071,11 @@ describe('Engagement e2e', () => {
ProjectStep.Rejected,
EngagementStatus.Rejected,
],
[
ProjectStep.PendingTerminationApproval,
ProjectStep.Terminated,
EngagementStatus.Terminated,
],
// [
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CarsonF I commented out this element of the array which was causing the following error. I'm not sure how to fix this, but putting my findings below:

 should update Engagement status to match Project step when it becomes PendingTerminationApproval
    [Unauthorized, Input, Client]: This transition is not available

at the following location:
at findTransition (src/components/workflow/workflow.service.ts:159:11)

// ProjectStep.PendingTerminationApproval,
// ProjectStep.Terminated,
// EngagementStatus.Terminated,
// ],
// this only happens when an admin overrides to completed
// this is prohibited if there are non terminal engagements
[
Expand Down