fix(webui): show per-run automation replies and simplify details

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-13 05:43:05 +08:00
1 parent e7da868574
commit 037438e7d1
28 files changed
+985 -183

No files matched your search

@@ -79,7 +79,7 @@ describe("SessionInfoPopover", () => {
await user.click(row);
const detail = screen.getByRole("dialog", { name: "Morning check" });
expect(detail).toHaveClass("max-w-[520px]", "rounded-modal");
expect(within(detail).getByText("Instructions")).toBeInTheDocument();
expect(within(detail).queryByText("Instructions")).not.toBeInTheDocument();
expect(within(detail).getByText("Check the project status")).toBeInTheDocument();
await user.click(within(detail).getByRole("button", { name: "Close" }));
await waitFor(() => expect(screen.queryByRole("dialog", { name: "Morning check" })).not.toBeInTheDocument());
@@ -110,7 +110,7 @@ describe("SessionInfoPopover", () => {
{ id: "job-1" },
20_000,
);
expect(await within(detail).findByRole("button", { name: "Enable" })).toBeInTheDocument();
await waitFor(() => expect(within(detail).getByRole("button", { name: "Enable" })).toBeVisible());
});
it("returns from the shared editor to the same task detail", async () => {