Files
homaroma/.agents/sub_orch_e2e/SCOPE.md
T
2026-06-29 17:57:54 -04:00

1.5 KiB

Scope: Premium Mega Menu E2E Testing Track

Architecture

  • Elysia Backend: API endpoints served via Elysia. Integrates with Prisma DB.
  • Next.js Storefront: Consumes Elysia API to render homepage and mega menu.
  • Cheerio HTML Parser: Parses rendered HTML from the storefront to verify elements and CSS classes.
  • MCP Tools: Reads and writes menu payloads (specifically the main menu payload containing rootImage, columnImage, and hoverImage).

Milestones

# Name Scope Dependencies Status
1 Test Strategy & Feature Inventory Create TEST_INFRA.md outlining the test strategy, feature inventory (Tiers 1-4), and coverage. None DONE
2 Test Infra & DB Seed Design & implement seed script for DB menu payload and server spawning utility. M1 IN_PROGRESS (Conv: 2b9d2f93-3472-460a-9ab9-78f311e9c37b)
3 Homepage E2E & Cheerio Verification Verify storefront HTML parsing, image properties, classes, lazy loading for hover images. M2 IN_PROGRESS (Conv: 2b9d2f93-3472-460a-9ab9-78f311e9c37b)
4 Mobile Drawer & MCP E2E Verification Verify mobile drawer hides complex images; verify MCP tools read/write menu payloads. M3 IN_PROGRESS (Conv: 2b9d2f93-3472-460a-9ab9-78f311e9c37b)
5 Publication & Handoff Run full test suite, verify clean exit, and publish TEST_READY.md. M4 PLANNED

Interface Contracts

E2E Test Suite ↔ Test Runner

  • Command: bun test tests/mega-menu.test.ts
  • Output: Pass/Fail exit code, detailed test reports.