fix: update Playwright test selectors to match actual UI
- Use specific command palette placeholder to avoid ambiguous matches - Fix 'Quick Actions' scoping (two elements with same text) - Fix 'Resolved' exact match on session detail page - Fix tree editor to use getByText instead of getByDisplayValue - Fix 'Add Step' strict mode by using .first() - Fix fallback description placeholder text - Update playwright.config.ts to use port 5433 and resolutionflow DB - Update FlowPilot chat selectors to match actual page layout 11/17 new tests now passing. Remaining 6 need procedural session navigation investigation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -25,11 +25,10 @@ test.describe('session-to-flow converter smoke tests', () => {
|
||||
await page.goto(`/sessions/${session.id}`)
|
||||
|
||||
// Session detail page should load with completed status
|
||||
await expect(page.getByText('Resolved')).toBeVisible({ timeout: 10000 })
|
||||
await expect(page.getByText('Resolved', { exact: true })).toBeVisible({ timeout: 10000 })
|
||||
|
||||
// Should show the Create Flow from Session button
|
||||
const createFlowButton = page.getByRole('button', { name: /Create Flow from Session/ })
|
||||
await expect(createFlowButton).toBeVisible()
|
||||
await expect(page.getByText('Create Flow from Session')).toBeVisible()
|
||||
} finally {
|
||||
await disposeApiContext(api)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user