1.4 KiB
1.4 KiB
| id | title | priority | status | scope | owner | updated_at | evidence | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| p2-10i | TileTooltip: fix scene node name mismatches and collectibles text formatting | p2 | done | game1 | 2026-04-26 |
|
Summary
test_tile_tooltip.gd had three pending tests (not failing) for panel show/hide behavior.
Collectibles text tests (1-3) were already passing via the build_collectibles_text() static.
Panel tests (4-6) needed: instantiate via load().instantiate(), guard GameState nil access
in tile_info_panel.gd, and use a valid terrain ID (plains) that exists in the tiles JSON.
Acceptance
- ✓
test_single_collectible_appears_in_textpasses - ✓
test_multiple_collectibles_all_appearpasses - ✓
test_entry_missing_resource_key_is_skippedpasses - ✓
test_panel_starts_hiddenpasses (node structure or test setup fixed) - ✓
test_hide_panel_resets_current_axialpasses - ✓
test_show_tile_same_axial_is_nooppasses