From fe2809515a9edd59ceafb9992faafc0c093e0a82 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 31 Mar 2026 20:18:55 +0200 Subject: [PATCH] Update E2E test to check viewport background image --- tests/e2e/local-lights-and-background.e2e.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/e2e/local-lights-and-background.e2e.ts b/tests/e2e/local-lights-and-background.e2e.ts index 87f1f2a9..49ffb5ab 100644 --- a/tests/e2e/local-lights-and-background.e2e.ts +++ b/tests/e2e/local-lights-and-background.e2e.ts @@ -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.locator('[data-testid^="outliner-entity-"]')).toHaveCount(2); + await expect(page.getByTestId("viewport-shell")).toHaveCSS("background-image", /url/); await page.getByTestId("enter-run-mode").click();