Skip to content

PM-4151: align challenge export regression spec with names#71

Merged
jmgasper merged 1 commit intodevelopfrom
PM-4151-2
Apr 6, 2026
Merged

PM-4151: align challenge export regression spec with names#71
jmgasper merged 1 commit intodevelopfrom
PM-4151-2

Conversation

@jmgasper
Copy link
Copy Markdown
Collaborator

@jmgasper jmgasper commented Apr 6, 2026

What was broken
The PM-4151 challenge export regression spec on current develop still asserted the older export shape without firstName and lastName, so the focused challenge report test failed even though the Marathon Match finalScore export fix from PR #69 had already been merged.

Root cause (if identifiable)
The earlier follow-up branch updated the regression spec for the current export shape, but that spec change never landed on top of develop after firstName and lastName were added to challenge user exports.

What was changed
Updated the challenge report regression fixtures and expectations to include firstName and lastName for Marathon Match and standard challenge exports.
Kept the follow-up scoped to the regression coverage only because the functional MM finalScore export fix is already present on develop.

Any added/updated tests
Updated src/reports/challenges/challenges-reports.service.spec.ts to assert the current export columns.
Verified pnpm lint, pnpm test --runInBand src/reports/challenges/challenges-reports.service.spec.ts, and pnpm build on this branch.
The full pnpm test --runInBand suite still fails in unrelated pre-existing SFDC specs on the current develop base.

What was broken
The PM-4151 challenge export regression spec on current develop still asserted the older export shape without firstName and lastName, so the focused challenge report test failed even though the Marathon Match finalScore export fix had already been merged.

Root cause (if identifiable)
The earlier follow-up branch updated the regression spec for the current export shape, but that spec change never landed on top of the develop branch after firstName and lastName were added to challenge user exports.

What was changed
Updated the challenge report regression fixtures and expectations to include firstName and lastName for Marathon Match and standard challenge exports.
Kept the follow-up scoped to the regression coverage only because the functional MM finalScore export fix is already present on develop.

Any added/updated tests
Updated src/reports/challenges/challenges-reports.service.spec.ts to assert the current export columns.
Verified pnpm lint, pnpm test --runInBand src/reports/challenges/challenges-reports.service.spec.ts, and pnpm build on this branch.
The full pnpm test --runInBand suite still fails in unrelated pre-existing SFDC specs on the current develop base.
@jmgasper jmgasper merged commit 5a07b01 into develop Apr 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant