fix(webui): use file-type icons in file change activity

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-17 23:27:00 +08:00
1 parent d076e4ef13
commit 8de03ac0a2
8 files changed
+132 -68

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ describe("ThreadMessages", () => {
const assertIndependentDiff = () => {
const diff = screen.getByTestId("file-edit-diff");
expect(diff).toBeVisible();
expect(screen.getByText("Edited")).toBeInTheDocument();
expect(screen.getByRole("img", { name: "Edited", exact: true })).toBeInTheDocument();
expect(diff.closest('[aria-hidden="true"], [inert], [data-testid="agent-activity-content"]'))
.toBeNull();
expect(screen.getByText("File updated")).toBeVisible();