Skip to content

Commit 85440a8

Browse files
committed
fix(tests): Regenerate banner snapshots and fix typo flagged by CI
The CI pre-commit failed on two issues: 1. typos hook flagged "mis-classified" in tests/backend/test_generic_helpers.py (the dictionary-based checker doesn't recognise the hyphenated form). Reword to "misclassified" - same meaning, no hyphen. 2. The 22 banner-bearing snapshots regenerated in 24d3546 captured the "models" / "MCP servers · skills" lines as invisible (the CSS bug fixed in 7fd1967 collapsed those widgets to width 0). Now that the banner renders the counts again, the snapshots no longer match. Regenerate via `pytest --snapshot-update`. Inspecting the diff confirms the only change is the banner counts becoming visible - no other UI regression slipped in.
1 parent 0e6a6eb commit 85440a8

23 files changed

Lines changed: 133 additions & 133 deletions

‎tests/backend/test_generic_helpers.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class TestParseLimitType:
1010
auto-fallback chat message can name which limit tripped. The function
1111
is regex-based and fragile by nature: this suite locks in the wordings
1212
Albert is known to use, plus the precedence rules that prevent
13-
"tokens per day" from being mis-classified as `tpm`.
13+
"tokens per day" from being misclassified as `tpm`.
1414
"""
1515

1616
@pytest.mark.parametrize(

‎tests/snapshots/__snapshots__/test_ui_snapshot_ask_user_question/test_snapshot_ask_user_question_collapsed.svg‎

Lines changed: 6 additions & 6 deletions
Loading

‎tests/snapshots/__snapshots__/test_ui_snapshot_ask_user_question/test_snapshot_ask_user_question_expanded.svg‎

Lines changed: 6 additions & 6 deletions
Loading

‎tests/snapshots/__snapshots__/test_ui_snapshot_basic_conversation/test_snapshot_shows_basic_conversation.svg‎

Lines changed: 6 additions & 6 deletions
Loading

0 commit comments

Comments
 (0)