ui: plan 01-27 done #1
@@ -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 ({
|
||||
|
||||
Reference in New Issue
Block a user