fix(webui): remove ellipses from sending labels

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-27 15:59:53 +08:00
1 parent 8aa0deaca3
commit b6536bfc5e
13 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ describe("attachment download cards", () => {
it("changes a pending file to a download only after its URL arrives", () => {
const attachment = { kind: "file" as const, name: "report.pdf" };
const { rerender } = render(<AttachmentTile attachment={attachment} pending />);
expect(screen.getByText("Sending…")).toBeVisible();
expect(screen.getByText("Sending")).toBeVisible();
expect(screen.queryByRole("link")).not.toBeInTheDocument();
rerender(<AttachmentTile attachment={{ ...attachment, url: "/api/media/signed/report" }} />);
+1 -1
View File
@@ -424,7 +424,7 @@ describe("MessageBubble", () => {
const { rerender } = render(<MessageBubble message={message} />);
expect(screen.getByRole("status")).toHaveTextContent("Sending…");
expect(screen.getByRole("status")).toHaveTextContent("Sending");
rerender(<MessageBubble message={{ ...message, deliveryStatus: "accepted" }} />);
expect(screen.queryByRole("status")).not.toBeInTheDocument();