Skip to content

Commit 6bbed8d

Browse files
committed
fix(ui): activate FleetView before nested roster assertion
After #164 nested records are filtered from the coordinator fleet, but #169 keeps the roster collapsed until selection is active. Press ↓ first so the nested-hide assertion observes the visible list.
1 parent 8bbb808 commit 6bbed8d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/fleet-list.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ describe("FleetList navigation", () => {
166166
makeRecord({ id: "top", description: "top-level" }),
167167
makeRecord({ id: "nested", description: "nested-child", parentAgentId: "top" }),
168168
]);
169+
// Roster stays collapsed until selection is active (#169).
170+
h.press(DOWN);
169171
const output = h.render().join("\n");
170172
expect(output).toContain("top-level");
171173
expect(output).not.toContain("nested-child");

0 commit comments

Comments
 (0)