Update material names and add tests for box face UVs and scene document migration

This commit is contained in:
2026-04-15 04:11:48 +02:00
parent 166c5e7dfa
commit 5a443e9da3
4 changed files with 80 additions and 4 deletions

View File

@@ -27,14 +27,14 @@ test("user can assign a face material through the UI and keep it through an auto
await page.getByTestId("face-button-posZ").click();
await page.getByTestId("material-button-starter-amber-grid").click();
await expect(page.getByTestId("selected-face-material-name")).toContainText("Amber Grid");
await expect(page.getByTestId("selected-face-material-name")).toContainText("Stacked Beige Terracotta Tile");
await page.waitForTimeout(400);
await page.reload();
await page.getByRole("button", { name: /Whitebox Box 1/ }).click();
await page.getByTestId("face-button-posZ").click();
await expect(page.getByTestId("selected-face-material-name")).toContainText("Amber Grid");
await expect(page.getByTestId("selected-face-material-name")).toContainText("Stacked Beige Terracotta Tile");
expect(pageErrors).toEqual([]);
expect(consoleErrors).toEqual([]);