Fix the two Ice Cream tests that broke the headless gate #338
No reviewers
Labels
No labels
4-29
bug
documentation
duplicate
enhancement
flow improvement
good first issue
help wanted
invalid
investigating
issue-agent
issue-agent-blocked
issue-agent-complete
issue-agent-pr-open
issue-agent-runner-nelsonlaptop
issue-agent-runner-nelsonpc
issue-agent-runner-nelsonpc-user
issue-agent-running
needs-verification
next to do
question
queue
recon
relics-stats-onboarding
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/spirelens!338
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/fix-ice-cream-test-assertions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Both failures were in the tests, not the tracking. #337 merged before CI
reported, so
mainwent red on864bfd9.The tooltip assertion
It looked for
"Avg energy conserved per turn"and found nothing.RelicStatRowVocabularystrips a concept that followsperfrom the visiblelabel and re-renders it as a denominator icon, so the rendered label is
"Avg energy conserved"and the full wording only survives in the row's hint.Every other relic with per-turn and per-combat rows already opens the row
description with the label's own wording — Orichalcum's
"Block missed per turn — ..."is exactly why its otherwise identicalassertion passes. Matched that convention rather than loosening the assertion,
so label and hint agree, which is the point of it.
The suppressor scan
It called
GetTypes()on the game assembly. The headless gate builds againstthe checked-in
lib/sts2.dllreference stub, which ships without its fulldependency closure (
SmartFormat,Steamworks.NET), so that throwsReflectionTypeLoadExceptionpartway through even thoughIceCreamand therest of the relic models loaded fine. Now scans the types that did load — a
second suppressor still fails the assertion, which is the guarantee the test
exists for.
Verification
Run the way the gate runs it, with
Sts2DataDirforced empty so the csprojfalls back to
lib/:Failed: 0, Passed: 2013, Skipped: 0.