spaceship/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Loïc Wisniewski fe1c721d64 Restore the crafter binding lost in an over-wide edit
This is the actual cause of "the build a ship menu buttons do nothing",
reported four times. Opening the crafter panel stopped recording WHICH
crafter: when the auto-unload was replaced with an explicit store button,
the replaced block reached one line further up than intended and took
`craft_building_id = current_building.building_id` with it. Every handler
in the panel then bailed out at its `if craft_building_id == 0` guard,
while the panel itself still opened and Close still worked - because
Close is the only button that does not need the binding.

The silent `return` on that guard is what let it pass unnoticed, so it
now says so instead.

The test was complicit: it set craft_building_id by hand, which skipped
the exact step that was broken. It now parks the fleet on the crafter,
waits for the action button to debounce in, and presses it - the way the
game does. Verified against the broken code: it fails with
"opening the panel did not record which crafter".

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-11 23:55:12 +02:00
..
_build_menu_preview.gd Fix the stop stutter, and hide unresearched buildings from the menu 2026-08-11 21:38:17 +02:00
_build_menu_preview.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
_build_menu_preview.tscn Transport Hub building 2026-08-11 17:45:07 +02:00
_build_popup_preview.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_build_popup_preview.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_build_popup_preview.tscn Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_cargo_readout_preview.gd Show what the fleet is carrying next to what is banked 2026-08-11 16:04:40 +02:00
_cargo_readout_preview.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
_cargo_readout_preview.tscn Show what the fleet is carrying next to what is banked 2026-08-11 16:04:40 +02:00
_craft_menu_preview.gd Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
_craft_menu_preview.gd.uid Block input behind open panels; keep craft-menu messages on screen 2026-08-11 20:17:58 +02:00
_craft_menu_preview.tscn Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
_crafter_preview.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_crafter_preview.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_crafter_preview.tscn Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_font_probe.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_font_probe.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_icon_preview.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_icon_preview.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_icon_preview.tscn Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_ingame_buildings_preview.gd Ship Lab: per-vessel research, and the shield vessel 2026-08-11 23:31:49 +02:00
_ingame_buildings_preview.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_ingame_buildings_preview.tscn Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_lab_menu_preview.gd Ship Lab: per-vessel research, and the shield vessel 2026-08-11 23:31:49 +02:00
_lab_menu_preview.gd.uid Ship Lab: per-vessel research, and the shield vessel 2026-08-11 23:31:49 +02:00
_lab_menu_preview.tscn Ship Lab: per-vessel research, and the shield vessel 2026-08-11 23:31:49 +02:00
_lunar_check.png.import Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_marker_preview.gd Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_marker_preview.gd.uid Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_marker_preview.tscn Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_planet_derrick_preview.gd Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_planet_derrick_preview.gd.uid Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_planet_derrick_preview.tscn Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_profile_startup.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_profile_startup.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_run_inside.sh Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_screenshot_tool.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_screenshot_tool.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_skill_menu_preview.gd Block input behind open panels; keep craft-menu messages on screen 2026-08-11 20:17:58 +02:00
_skill_menu_preview.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_skill_menu_preview.tscn Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_transporter_preview.gd Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
_transporter_preview.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
_transporter_preview.tscn Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
_vfx_preview.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_vfx_preview.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_vfx_preview.tscn Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
run_tests.sh Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
scratch_scene_a.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
scratch_scene_b.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
scratch_swap_check.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
screenshot.sh Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
test_animation_continuity.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_animation_continuity.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_asteroid_safe_spawn.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_asteroid_safe_spawn.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_asteroid_ship_collision.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_asteroid_ship_collision.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_asteroid_spawning.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_asteroid_spawning.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_biome_generation.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_biome_generation.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_build_info_popup.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_build_info_popup.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_build_menu_hides_locked.gd Fix the stop stutter, and hide unresearched buildings from the menu 2026-08-11 21:38:17 +02:00
test_build_menu_hides_locked.gd.uid Repair a broken working tree, and make every crafter press report 2026-08-11 22:50:09 +02:00
test_build_menu_icons.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_build_menu_icons.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_building_redraw_cost.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_building_redraw_cost.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_building_stock_queue.gd Typed owed vessels, ship lab building type, shield vessel gate 2026-08-11 23:10:07 +02:00
test_building_stock_queue.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
test_camera_settles.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_camera_settles.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_cargo_readout.gd Show what the fleet is carrying next to what is banked 2026-08-11 16:04:40 +02:00
test_cargo_readout.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
test_crafter_animation.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_crafter_animation.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_crafter_feedback.gd Restore the crafter binding lost in an over-wide edit 2026-08-11 23:55:12 +02:00
test_crafter_feedback.gd.uid Typed owed vessels, ship lab building type, shield vessel gate 2026-08-11 23:10:07 +02:00
test_enemy_collision.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_enemy_collision.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_enemy_combat.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_enemy_combat.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_exploration_tracker.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_exploration_tracker.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_extractor_building.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_extractor_building.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_extractor_income.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_extractor_income.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_fleet_cargo.gd Fleet carries mined ore until it delivers it to the mothership 2026-08-11 15:55:45 +02:00
test_fleet_cargo.gd.uid Show what the fleet is carrying next to what is banked 2026-08-11 16:04:40 +02:00
test_fleet_formation.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_fleet_formation.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_hub_capacity.gd Typed owed vessels, ship lab building type, shield vessel gate 2026-08-11 23:10:07 +02:00
test_hub_capacity.gd.uid Block input behind open panels; keep craft-menu messages on screen 2026-08-11 20:17:58 +02:00
test_icon_button.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_icon_button.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_icon_button_drag_cancel.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_icon_button_drag_cancel.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_joystick_control.gd Fix the stop stutter, and hide unresearched buildings from the menu 2026-08-11 21:38:17 +02:00
test_joystick_control.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_keyboard_input.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_keyboard_input.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_lopsided_formation_movement.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_lopsided_formation_movement.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_manual_supply_route.gd Typed owed vessels, ship lab building type, shield vessel gate 2026-08-11 23:10:07 +02:00
test_manual_supply_route.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
test_map_building_markers.gd Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
test_map_building_markers.gd.uid Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
test_modal_blocks_input.gd Fix every button being permanently blocked after closing the build menu 2026-08-11 23:41:00 +02:00
test_modal_blocks_input.gd.uid Repair a broken working tree, and make every crafter press report 2026-08-11 22:50:09 +02:00
test_mothership_replacement.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_mothership_replacement.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_no_popin_on_load.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_no_popin_on_load.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_pinch_zoom.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_pinch_zoom.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_pivot_controls.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_pivot_controls.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_atmosphere_transition.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_atmosphere_transition.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_extractor_marker.gd Show the extractor derrick the moment it is built, not on respawn 2026-08-11 15:43:43 +02:00
test_planet_extractor_marker.gd.uid Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
test_planet_identity_persists.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_identity_persists.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_landing_proximity.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_landing_proximity.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_map_marker_matches_spawn.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_map_marker_matches_spawn.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_prompt_map_interaction.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_prompt_map_interaction.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_spawning.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_spawning.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_prompt_debounce.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_prompt_debounce.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_resources_and_buildings.gd Fleet carries mined ore until it delivers it to the mothership 2026-08-11 15:55:45 +02:00
test_resources_and_buildings.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_return_position_matches_planet.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_return_position_matches_planet.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_shield_vessel.gd Ship Lab: per-vessel research, and the shield vessel 2026-08-11 23:31:49 +02:00
test_shield_vessel.gd.uid Ship Lab: per-vessel research, and the shield vessel 2026-08-11 23:31:49 +02:00
test_ship_facing.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_ship_facing.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_ship_lab.gd Ship Lab: per-vessel research, and the shield vessel 2026-08-11 23:31:49 +02:00
test_ship_lab.gd.uid Ship Lab: per-vessel research, and the shield vessel 2026-08-11 23:31:49 +02:00
test_skill_tree.gd Fix the stop stutter, and hide unresearched buildings from the menu 2026-08-11 21:38:17 +02:00
test_skill_tree.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_star_coverage.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_star_coverage.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_transport_hub_building.gd Transport Hub building 2026-08-11 17:45:07 +02:00
test_transport_hub_building.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
test_transporter_supply.gd Typed owed vessels, ship lab building type, shield vessel gate 2026-08-11 23:10:07 +02:00
test_transporter_supply.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
test_world_map_ui.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_world_map_ui.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00