- Fix procedural session tests: sessions auto-start, no Start button
- Fix strict mode violations: use getByRole('heading') for step titles
- Fix FlowPilot chat: use button role selector for New Chat
- Fix command palette page nav: scope Analytics click to palette modal
- Fix fallback runner: remove non-existent Start button click
- Update playwright.config to port 5433 for local Docker
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
11 lines
384 B
TypeScript
11 lines
384 B
TypeScript
import { expect, test } from '@playwright/test'
|
|
|
|
test.describe('FlowPilot assistant chat smoke tests', () => {
|
|
test('can open the assistant chat page', async ({ page }) => {
|
|
await page.goto('/assistant')
|
|
|
|
// Page should load — the "New Chat" button is always present
|
|
await expect(page.getByRole('button', { name: /New Chat/ })).toBeVisible({ timeout: 10000 })
|
|
})
|
|
})
|