Update player position test to check for partial text

This commit is contained in:
2026-04-02 23:32:19 +02:00
parent aa52d62098
commit aed06fef01

View File

@@ -59,7 +59,8 @@ test("first-room workflow covers create, texture, save/load, and run", async ({
await expect(page.getByTestId("runner-shell")).toBeVisible();
await expect(page.getByTestId("runner-spawn-state")).toContainText("Player Start");
await expect(page.getByTestId("runner-player-position")).toContainText("2.00, 0.00, -2.00");
await expect(page.getByTestId("runner-player-position")).toContainText("2.00,");
await expect(page.getByTestId("runner-player-position")).toContainText(", -2.00");
expect(pageErrors).toEqual([]);
expect(consoleErrors).toEqual([]);