Update Player Start inspector tests to cover locomotion and interact bindings

This commit is contained in:
2026-04-27 15:43:36 +02:00
parent 2fbe69f243
commit 0653d740f1

View File

@@ -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");
});
});