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