diff --git a/ui/src/components/IssueProperties.test.tsx b/ui/src/components/IssueProperties.test.tsx index 942d5b176a..6277c22054 100644 --- a/ui/src/components/IssueProperties.test.tsx +++ b/ui/src/components/IssueProperties.test.tsx @@ -130,8 +130,8 @@ vi.mock("../lib/assignees", () => ({ })); vi.mock("./StatusIcon", () => ({ - StatusIcon: ({ status, blockerAttention, className }: { status: string; blockerAttention?: Issue["blockerAttention"]; className?: string }) => ( - {status} + StatusIcon: ({ status, blockerAttention, className, size }: { status: string; blockerAttention?: Issue["blockerAttention"]; className?: string; size?: string }) => ( + {status} ), })); @@ -530,6 +530,7 @@ describe("IssueProperties", () => { '[data-property-label="Status"] + [data-property-value="true"] [data-testid="status-icon"]', ); expect(statusVisual).not.toBeNull(); + expect(statusVisual?.getAttribute("data-size")).toBe("md"); expect(statusVisual?.classList).toContain("mx-1"); expect(statusVisual?.classList).not.toContain("size-6"); expect(surface?.querySelector('[data-property-section="true"] > div')?.classList)