test: add Playwright e2e tests for new features and uncovered workflows #109

Merged
chihlasm merged 1 commits from codex/push-playwright-main into main 2026-03-16 07:03:23 +00:00
chihlasm commented 2026-03-16 07:03:17 +00:00 (Migrated from github.com)

Summary

  • Adds 7 new Playwright e2e test specs (16 test cases total)
  • Adds 2 new API helper factories for procedural flows
  • Covers both new PR #108 features and existing untested workflows

New tests

Spec Tests Coverage
command-palette.spec.ts 4 Cmd+K, search, page nav, FlowPilot handoff
fallback-branches.spec.ts 2 Editor add/remove, runner execution
session-to-flow.spec.ts 1 Button visibility on completed sessions
procedural-session.spec.ts 2 Intake form, step-through, completion
tree-editor.spec.ts 2 Troubleshooting + procedural editor
flowpilot-chat.spec.ts 2 Chat page load, new chat
admin-panel.spec.ts 3 Dashboard, users, settings

Test plan

  • CI e2e job passes
  • No flaky failures on retry

🤖 Generated with Claude Code

## Summary - Adds 7 new Playwright e2e test specs (16 test cases total) - Adds 2 new API helper factories for procedural flows - Covers both new PR #108 features and existing untested workflows ## New tests | Spec | Tests | Coverage | |------|-------|----------| | `command-palette.spec.ts` | 4 | Cmd+K, search, page nav, FlowPilot handoff | | `fallback-branches.spec.ts` | 2 | Editor add/remove, runner execution | | `session-to-flow.spec.ts` | 1 | Button visibility on completed sessions | | `procedural-session.spec.ts` | 2 | Intake form, step-through, completion | | `tree-editor.spec.ts` | 2 | Troubleshooting + procedural editor | | `flowpilot-chat.spec.ts` | 2 | Chat page load, new chat | | `admin-panel.spec.ts` | 3 | Dashboard, users, settings | ## Test plan - [ ] CI e2e job passes - [ ] No flaky failures on retry 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.