Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions desktop/src/features/channels/ui/ChannelPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ export const ChannelPane = React.memo(function ChannelPane({
if (!activeChannel.archivedAt && activeChannel.isMember) {
if (onAddAgent) {
actions.push({
description: "Add an agent here.",
description: "Add an agent or team.",
icon: <Bot aria-hidden className="h-6 w-6" />,
label: "Create agent",
label: "Add agent",
onClick: onAddAgent,
testId: "channel-intro-action-create-agent",
});
Expand Down
6 changes: 6 additions & 0 deletions desktop/tests/e2e/channels.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,12 @@ test("empty channel shows intro actions", async ({ page }) => {
await expect(
page.getByTestId("channel-intro-action-create-agent"),
).toBeVisible();
await expect(
page.getByTestId("channel-intro-action-create-agent-title"),
).toHaveText("Add agent");
await expect(
page.getByTestId("channel-intro-action-create-agent-description"),
).toHaveText("Add an agent or team.");
await expect(
page.getByTestId("channel-intro-action-add-people"),
).toBeVisible();
Expand Down
Loading