fix(webui): remove ellipses from sending labels
This commit is contained in:
1 parent
8aa0deaca3
commit
b6536bfc5e
13 files changed
+13
-13
No files matched your search
@@ -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" }} />);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user