2.5 KiB
2.5 KiB
BRIEFING — 2026-06-29T17:34:53-04:00
Mission
Design and implement a comprehensive E2E test suite under tests/mega-menu.test.ts using the Bun test runner, in strict blackbox mode.
🔒 My Identity
- Archetype: implementer, qa, specialist
- Roles: implementer, qa, specialist
- Working directory: /home/ti/git/homaroma/.agents/worker_m2
- Original parent: f5557127-1c9c-40d2-90e6-d996a7381786
- Milestone: Mega Menu E2E Test Suite
🔒 Key Constraints
- DB Seeding with rootImage, columnImage, hoverImage.
- Spawn Elysia backend and Next.js website on distinct ports, wait for responsive, clean up.
- Fetch homepage, cheerio parse, assert Next.js image optimization attributes, styling, responsive hiding in mobile drawer.
- MCP Tools integration: test upsert_menu, get_menu over stdio RPC.
- Strict Blackbox Mode: Prohibited from using view_file, grep_search, run_command, or reading any backend source code to find answers or discover capabilities. Must test MCP tools solely using their public names and JSON-RPC interface.
Current Parent
- Conversation ID: f5557127-1c9c-40d2-90e6-d996a7381786
- Updated: not yet
Task Summary
- What to build: Mega Menu E2E test suite using Bun test runner.
- Success criteria: All tests pass. Database is seeded with the correct payload. Elysia backend and Next.js website spawn and respond. Image tags are parsed and validated. MCP tools are verified.
- Interface contracts: Blackbox, public MCP names/JSON-RPC.
- Code layout: Test file at
tests/mega-menu.test.ts.
Loaded Skills
- Source: /home/ti/git/homaroma/.agents/skills/orchestrator/SKILL.md
- Local copy: /home/ti/git/homaroma/.agents/worker_m2/skills/orchestrator/SKILL.md
- Core methodology: Coordinates multi-agent planning and quality verification.
- Source: /home/ti/git/homaroma/.agents/skills/qa-product-auditor/SKILL.md
- Local copy: /home/ti/git/homaroma/.agents/worker_m2/skills/qa-product-auditor/SKILL.md
- Core methodology: Validates product user flows, handles edge cases, and verifies release readiness.
Change Tracker
- Files modified: None yet
- Build status: TBD
- Pending issues: None
Quality Status
- Build/test result: TBD
- Lint status: TBD
- Tests added/modified: None yet
Key Decisions Made
- Use Cheerio to parse HTML storefront pages to check Next.js optimized images.
- Use Axios or native fetch to request the webpage.
- Connect to MCP over stdio JSON-RPC.
Artifact Index
- None yet