Skip to content

Add a frontend test suite — currently zero tests exist #114

Description

@lucastononro

Problem. frontend/package.json has no test runner (no jest/vitest/@testing-library/playwright) and no test script. Non-trivial client logic ships untested: the SSE dispatcher src/lib/notebook/useNotebookSSE.ts, src/lib/api.ts, AppContext.tsx, the lineage graph, and the notebook cell components.

Why it matters. A single renamed event type or route path silently breaks live updates with nothing to catch it.

Suggested fix. Add Vitest + React Testing Library for hooks/components, a Playwright smoke test for the core flow, and a frontend-test job in ci.yml (which today only runs lint/typecheck/build).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical / core-value / exploitabletestingTest coverage / quality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions