Skip to content
Merged
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
6 changes: 6 additions & 0 deletions browser_tests/tests/agent/agentFreeUsePlacement.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ test.describe(
})
await expect(notice).toBeVisible()
await expect(notice).toHaveAttribute('data-placement', PLACEMENT)
await expect(
notice.getByRole('link', { name: 'Learn more' })
).toHaveAttribute(
'href',
'https://docs.comfy.org/agent-tools/in-app-agent#what-it-costs'
)

const composer = agentPanel.root.getByTestId('agent-composer')
await expect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('FreeUseNotice', () => {
expect(link).toHaveAttribute('target', '_blank')
expect(link).toHaveAttribute(
'href',
'https://docs.comfy.org/get_started/cloud'
'https://docs.comfy.org/agent-tools/in-app-agent#what-it-costs'
)
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import type {
AgentFreeUseNoticeMetadata,
AgentFreeUsePlacement
} from '@/platform/telemetry/types'

import { FREE_USE_NOTICE_DISMISSED_KEY } from './freeUseNoticeDismissal'

const FREE_USE_DOCS_URL = 'https://docs.comfy.org/get_started/cloud'
const FREE_USE_DOCS_URL =
'https://docs.comfy.org/agent-tools/in-app-agent#what-it-costs'

const PLACEMENT_CLASSES = {
'top-banner': 'px-4 py-3',
Expand Down
Loading