feat: complete catalog-driven preprocessing
Publish documentation / publish (push) Successful in 2m12s
Publish documentation / publish (push) Successful in 2m12s
This commit is contained in:
@@ -94,6 +94,23 @@ test("uses Fleet Ledger by default and gates the legacy fallback to non-producti
|
||||
})).toBe("fleet");
|
||||
});
|
||||
|
||||
test("starts on the core activity after a hard refresh even if metadata management was open", async () => {
|
||||
localStorage.setItem("thothii:app-navigation", JSON.stringify({
|
||||
surface: "database-management",
|
||||
panel: null,
|
||||
}));
|
||||
|
||||
renderShell();
|
||||
await expandAdministration();
|
||||
|
||||
const sessionNavigation = screen.getByRole("complementary", { name: "Session navigation" });
|
||||
expect(within(sessionNavigation).getByRole("button", { name: "New session" }))
|
||||
.toHaveAttribute("aria-current", "page");
|
||||
expect(within(sessionNavigation).getByRole("button", { name: "Database management" }))
|
||||
.not.toHaveAttribute("aria-current");
|
||||
expect(screen.queryByRole("main", { name: "Database management" })).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
test("replaces the core conversation while keeping the session navigation", async () => {
|
||||
renderShell();
|
||||
await expandAdministration();
|
||||
|
||||
Reference in New Issue
Block a user