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:
@@ -40,7 +40,7 @@ test.describe('fallback branches smoke tests', () => {
|
||||
await fallbackInput.fill('Try alternative ping method')
|
||||
|
||||
// Fill description
|
||||
const descInput = page.getByPlaceholder('What to try instead...')
|
||||
const descInput = page.getByPlaceholder('Describe this alternative approach...')
|
||||
await expect(descInput).toBeVisible()
|
||||
await descInput.fill('Use traceroute if ping fails')
|
||||
|
||||
@@ -60,7 +60,7 @@ test.describe('fallback branches smoke tests', () => {
|
||||
try {
|
||||
// Navigate to the procedural flow
|
||||
await page.goto(`/flows/${tree.id}/navigate`)
|
||||
await expect(page.getByRole('heading', { name: tree.name })).toBeVisible({ timeout: 10000 })
|
||||
await expect(page.getByText(tree.name)).toBeVisible({ timeout: 10000 })
|
||||
|
||||
// Start the session (no intake form on this flow)
|
||||
const startButton = page.getByRole('button', { name: /Start/ })
|
||||
|
||||
Reference in New Issue
Block a user