ui/phase-15: update game-shell-inspector e2e for new production component

The desktop spec previously asserted the read-only `inspector-planet-
field-production` row for an owned planet. Phase 15 replaced that
row with the interactive production component on the local-planet
branch — the assertion now confirms the component is mounted and
the legacy field is absent.
This commit is contained in:
Ilia Denisov
2026-05-09 16:05:50 +02:00
parent 915b4372dd
commit 42731022fb
@@ -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 ({