Skip to content

[P1] Checkpoint UI fails to display seeded checkpoints - 4 E2E tests failing #252

Description

@frankbria

Problem

The Checkpoint UI is not displaying seeded checkpoint data. Tests expecting checkpoint items find neither the checkpoint items nor the empty state element.

Failing Tests (4)

  1. test_checkpoint_ui.spec.ts:64 - should list existing checkpoints
  2. test_checkpoint_ui.spec.ts:147 - should show restore confirmation dialog
  3. test_checkpoint_ui.spec.ts:220 - should display checkpoint metadata
  4. test_checkpoint_ui.spec.ts:247 - should allow deleting checkpoint

Error Messages

TimeoutError: page.waitForResponse: Timeout 10000ms exceeded while waiting for event "response"
- response.url().includes('/checkpoints') && response.status() === 200

Error: expect(locator).toBeVisible() failed
Locator: locator('[data-testid="checkpoint-empty-state"]')
Expected: visible
Error: element(s) not found

Symptoms

  1. /checkpoints API call times out (test 1)
  2. Neither [data-testid^="checkpoint-item-"] nor [data-testid="checkpoint-empty-state"] elements are visible (tests 2-4)
  3. Seeded checkpoints (3 per project) are not being loaded/displayed

Seeding Verification

The seed script confirms checkpoints were created:

💾 Seeding checkpoints...
   ✅ Created checkpoint DB: checkpoint-001-db.sqlite
   ✅ Created context snapshot: checkpoint-001-context.json
   ✅ Created checkpoint DB: checkpoint-002-db.sqlite
   ...
✅ Seeded 3/3 checkpoints with files

Possible Root Causes

  1. Checkpoint API endpoint not responding or returning wrong format
  2. Frontend CheckpointPanel not rendering checkpoint items correctly
  3. Test project (ID: 1) may be in wrong phase for checkpoint display
  4. Missing data-testid attributes on checkpoint UI elements

Affected Files

  • web-ui/src/components/CheckpointPanel.tsx
  • codeframe/ui/routers/checkpoints.py
  • tests/e2e/seed-test-data.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1-high-betaHigh priority - should fix before beta for best experiencebugSomething isn't workingtesting

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions