Files
resolutionflow/frontend/e2e/flowpilot-chat.spec.ts
chihlasm 8eea2348b0 fix: resolve all Playwright test failures — 16/16 passing
- 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>
2026-03-16 13:34:44 -04:00

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 })
})
})