Update E2E test to check viewport background image

This commit is contained in:
2026-03-31 20:18:55 +02:00
parent cee93957b9
commit fe2809515a

View File

@@ -52,6 +52,7 @@ test("local lights and background images persist through editor and runner flows
await expect(page.getByTestId("asset-list")).toContainText("skybox-panorama.svg"); await expect(page.getByTestId("asset-list")).toContainText("skybox-panorama.svg");
await expect(page.locator('[data-testid^="outliner-entity-"]')).toHaveCount(2); await expect(page.locator('[data-testid^="outliner-entity-"]')).toHaveCount(2);
await expect(page.getByTestId("viewport-shell")).toHaveCSS("background-image", /url/);
await page.getByTestId("enter-run-mode").click(); await page.getByTestId("enter-run-mode").click();