diff --git a/ui/frontend/tests/e2e/game-shell-inspector.spec.ts b/ui/frontend/tests/e2e/game-shell-inspector.spec.ts index 47b0f2e..eee38c0 100644 --- a/ui/frontend/tests/e2e/game-shell-inspector.spec.ts +++ b/ui/frontend/tests/e2e/game-shell-inspector.spec.ts @@ -191,9 +191,15 @@ test("clicking a planet on the map shows it in the desktop inspector tab", async await expect( sidebar.getByTestId("inspector-planet-field-industry"), ).toContainText("700"); + // Phase 15: owned planets render the interactive production component + // in place of the static "current production" row; the read-only + // row is now scoped to non-local planets. + await expect( + sidebar.getByTestId("inspector-planet-production"), + ).toBeVisible(); await expect( sidebar.getByTestId("inspector-planet-field-production"), - ).toContainText("drive"); + ).toHaveCount(0); }); test("clicking a planet on mobile raises the bottom-sheet, close clears it", async ({