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
13 changes: 11 additions & 2 deletions apps/website/e2e/docs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ test.describe('Docs landing page', () => {

// Hero
await expect(page.locator('#docs-heading')).toBeVisible();
await expect(page.locator('#docs-heading')).toContainText('Build AI agent UIs in Angular');
await expect(page.locator('#docs-heading')).toContainText('Start building with Threadplane');

// Step headings (match on the plain substring to avoid the middle-dot char)
// Step headings (match the label text; the numbered badge is a separate aria-hidden span)
await expect(page.getByText('Pick your backend').first()).toBeVisible();
await expect(page.getByText('Generative UI').first()).toBeVisible();
await expect(page.getByText('Chat UI').first()).toBeVisible();
Expand All @@ -17,6 +17,15 @@ test.describe('Docs landing page', () => {
await expect(page.locator('main a[href="/docs/langgraph/getting-started/quickstart"]').first()).toBeVisible();
await expect(page.locator('main a[href="/docs/ag-ui/getting-started/quickstart"]').first()).toBeVisible();

// Vendor logo marks on the fork cards
await expect(page.locator('main img[src="/logos/langgraph.svg"]').first()).toBeVisible();
await expect(page.locator('main img[src="/logos/runtimes/copilotkit.svg"]').first()).toBeVisible();
await expect(page.locator('main img[src="/logos/providers/google.svg"]').first()).toBeVisible();
await expect(page.locator('main img[src="/logos/surface/vercel.svg"]').first()).toBeVisible();

// Install snippet copy buttons
await expect(page.locator('main button[aria-label="Copy install command"]').first()).toBeVisible();

// Step 2 — generative UI links
await expect(page.locator('main a[href="/docs/a2ui/getting-started/introduction"]').first()).toBeVisible();
await expect(page.locator('main a[href="/docs/render/getting-started/introduction"]').first()).toBeVisible();
Expand Down
Loading
Loading