feat: complete catalog fleet management workflow
This commit is contained in:
@@ -136,17 +136,16 @@ test("defaults workspace mutations and secrets to denied", async () => {
|
||||
expect(screen.queryByRole("heading", { name: "Runtime secrets" })).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
test("uses a tall viewport area and keeps the workspace content scrollable", () => {
|
||||
test("uses the shared modeless work-area panel and keeps workspace content scrollable", () => {
|
||||
renderManager();
|
||||
|
||||
const dialog = screen.getByRole("dialog");
|
||||
expect(dialog).toHaveClass(
|
||||
"h-[86vh]",
|
||||
"w-[94vw]",
|
||||
"sm:w-[70vw]",
|
||||
"max-w-[94vw]",
|
||||
);
|
||||
expect(screen.getByRole("main")).toHaveClass("overflow-y-auto");
|
||||
const dialog = screen.getByRole("dialog", { name: "Workspace management" });
|
||||
expect(dialog).toHaveAttribute("aria-modal", "false");
|
||||
expect(dialog).toHaveAttribute("data-work-area-panel");
|
||||
expect(dialog.querySelectorAll(':scope > [data-work-area-panel-region="header"]')).toHaveLength(1);
|
||||
expect(dialog.querySelectorAll(':scope > [data-work-area-panel-region="body"]')).toHaveLength(1);
|
||||
expect(dialog.querySelectorAll(':scope > [data-work-area-panel-region="footer"]')).toHaveLength(0);
|
||||
expect(screen.getByRole("region", { name: "Workspace configuration" })).toHaveClass("overflow-y-auto");
|
||||
});
|
||||
|
||||
test("offers a button above the workspace list that returns to Level 1", async () => {
|
||||
|
||||
Reference in New Issue
Block a user