fix(site/src/modules/resources): clarify agent log download button label (#25641)

This commit is contained in:
Atif Ali
2026-05-31 10:03:34 +05:00
committed by GitHub
parent 8bec65a56a
commit 6f5220202d
3 changed files with 3 additions and 3 deletions
@@ -34,7 +34,7 @@ export const ClickOnDownload: Story = {
play: async ({ canvasElement, args }) => {
const canvas = within(canvasElement);
await userEvent.click(
canvas.getByRole("button", { name: "Download logs" }),
canvas.getByRole("button", { name: "Download agent logs" }),
);
await waitFor(() =>
expect(args.download).toHaveBeenCalledWith(
@@ -58,7 +58,7 @@ export const DownloadAgentLogsButton: FC<DownloadAgentLogsButtonProps> = ({
}}
>
<DownloadIcon />
{isDownloading ? "Downloading..." : "Download logs"}
{isDownloading ? "Downloading..." : "Download agent logs"}
</Button>
);
};
@@ -63,7 +63,7 @@ export const DownloadSelectedAgentLogsButton: FC<
>
<DownloadIcon />
<span className="sr-only">
{isDownloading ? "Downloading..." : "Download logs"}
{isDownloading ? "Downloading..." : "Download agent logs"}
</span>
<ChevronDownIcon className="size-icon-sm" />
</Button>