test(client): implant_pending visual scenario (#960)

Ad-hoc capture scenario that overlays the ImplantPending "generating" indicator
on the booted scene for visual sign-off — `tests/run-visual --screenshot
implant_pending`. No golden committed; this is an inspection scenario, not a
regression gate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-24 22:53:57 +02:00
co-authored by Claude Opus 4.7
parent 9733cbc0af
commit 6bb21db2cb
2 changed files with 20 additions and 0 deletions
+16
View File
@@ -93,6 +93,22 @@ func apply_setup(scenario_name: String, tree_root: Node) -> bool:
# player spawns at Hub (50,58). Captures real fog pipeline output.
pass
"implant_pending":
# #960: overlay the diegetic Layer-1 "generating" indicator for
# visual sign-off. Loaded via load() — class_name isn't available
# in -s mode (per this file's header note).
var pending_script: GDScript = load("res://ui/implant/implant_pending.gd")
var theme_res: Resource = load("res://ui/implant/default_implant.tres")
var layer := CanvasLayer.new()
layer.layer = 100
tree_root.add_child(layer)
var indicator: Control = pending_script.new()
indicator.name = "VisualImplantPending"
layer.add_child(indicator)
indicator.apply_implant_theme(theme_res)
indicator.position = Vector2(370.0, 240.0) # centered at 960x540
indicator.start("GENERATING LAYER 1")
_:
push_warning("VisualScenarios: unknown scenario '%s'" % scenario_name)
return false
+4
View File
@@ -68,6 +68,10 @@
"ticks": 10,
"live": true,
"description": "Live server: Hub spawn fog — real pipeline regression test"
},
"implant_pending": {
"ticks": 1,
"description": "ImplantPending — diegetic Layer-1 generating indicator (#960)"
}
},
"flows": {