fix: resolve strict mode violations and stale text in E2E tests
- public.spec.ts: add exact:true for 'Start Free' (matched 3 links) - navigation/history: add exact:true for 'Sessions' heading (matched 'AI Sessions' and 'Flow Sessions' subheadings too) - command-palette: 'Ask FlowPilot AI' → 'Troubleshoot with FlowPilot' - CLAUDE.md: add warning not to use gh run watch (burns tokens) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@ test.describe('command palette smoke tests', () => {
|
||||
|
||||
// Should show AI Assistant section with FlowPilot option
|
||||
await expect(page.getByText('AI Assistant')).toBeVisible({ timeout: 5000 })
|
||||
await expect(page.getByText('Ask FlowPilot AI')).toBeVisible()
|
||||
await expect(page.getByText('Troubleshoot with FlowPilot')).toBeVisible()
|
||||
} finally {
|
||||
await disposeApiContext(api)
|
||||
}
|
||||
@@ -83,7 +83,7 @@ test.describe('command palette smoke tests', () => {
|
||||
|
||||
// AI Assistant section should appear with FlowPilot option
|
||||
await expect(page.getByText('AI Assistant')).toBeVisible({ timeout: 3000 })
|
||||
const flowpilotOption = page.getByText('Ask FlowPilot AI')
|
||||
const flowpilotOption = page.getByText('Troubleshoot with FlowPilot')
|
||||
await expect(flowpilotOption).toBeVisible()
|
||||
|
||||
await flowpilotOption.click()
|
||||
|
||||
Reference in New Issue
Block a user