From 0653d740f11dda4d83d8109650c76d9862684565 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 27 Apr 2026 15:43:36 +0200 Subject: [PATCH] Update Player Start inspector tests to cover locomotion and interact bindings --- tests/unit/player-start-inspector.integration.test.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/unit/player-start-inspector.integration.test.tsx b/tests/unit/player-start-inspector.integration.test.tsx index 34800ea2..604ec32f 100644 --- a/tests/unit/player-start-inspector.integration.test.tsx +++ b/tests/unit/player-start-inspector.integration.test.tsx @@ -313,7 +313,7 @@ describe("Player Start inspector", () => { }); }); - it("shows authored jump, sprint, and crouch bindings for a selected Player Start", async () => { + it("shows authored locomotion and interact bindings for a selected Player Start", async () => { const playerStart = createPlayerStartEntity({ id: "entity-player-start-locomotion-bindings", name: "Locomotion Bindings" @@ -353,5 +353,11 @@ describe("Player Start inspector", () => { expect( screen.getByTestId("player-start-gamepad-binding-crouch") ).toHaveValue("buttonEast"); + expect( + screen.getByTestId("player-start-keyboard-binding-interact") + ).toHaveTextContent("Left Mouse"); + expect( + screen.getByTestId("player-start-gamepad-binding-interact") + ).toHaveValue("buttonWest"); }); });