mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-01 15:03:57 +08:00
feat(e2e): generate comprehensive E2E tests and fix TypeScript compilation errors
- Add 23 E2E test spec files covering 94 API endpoints across business domains - Fix TypeScript compilation errors (file casing, duplicate export, implicit any) - Update Playwright deprecated API calls (getByPlaceholderText -> getByPlaceholder) - Tests cover: dashboard, sessions, tasks, workspace, loops, issues-queue, discovery, skills, commands, memory, project-overview, session-detail, cli-history, cli-config, cli-installations, lite-tasks, review, mcp, hooks, rules, index-management, prompt-memory, file-explorer Test coverage: 100% domain coverage (23/23 domains) API coverage: 94 endpoints across 23 business domains Quality gates: 0 CRITICAL issues, all anti-patterns passed Note: 700+ timeout tests require backend server (port 3456) to pass
This commit is contained in:
@@ -29,7 +29,7 @@ export function LogBlockList({ executionId, className }: LogBlockListProps) {
|
||||
// This avoids duplicate logic and leverages store-side caching
|
||||
const blocks = useCliStreamStore(
|
||||
(state) => executionId ? state.getBlocks(executionId) : [],
|
||||
(a, b) => a === b // Shallow comparison - arrays are cached in store
|
||||
(a: LogBlockData[], b: LogBlockData[]) => a === b // Shallow comparison - arrays are cached in store
|
||||
);
|
||||
|
||||
// Get execution status for empty state display
|
||||
|
||||
Reference in New Issue
Block a user