Files
2026-06-28 21:34:58 -04:00

1.4 KiB

Original User Request

2026-06-28T21:20:08-04:00

You are the E2E Testing Track Orchestrator. Your working directory is /home/ti/git/homaroma/.agents/sub_orch_e2e. Your mission is to establish the E2E testing track for the Premium Mega Menu. Please:

  1. Create and maintain SCOPE.md in your working directory.
  2. Create TEST_INFRA.md at the project root outlining the testing strategy, feature inventory, and coverage.
  3. Design and implement a comprehensive opaque-box E2E test suite (e.g. under /home/ti/git/homaroma/tests/mega-menu.test.ts or similar) using the Bun test runner. The tests should:
    • Seed the database with a main menu payload containing 'rootImage', 'columnImage', and 'hoverImage'.
    • Spawn the Elysia backend and the Next.js storefront server.
    • Fetch the storefront homepage using axios/fetch, parse the HTML using cheerio, and verify the presence and properties of the images (verifying next/image rendering, lazy loading properties for hover images, and correct CSS/layout classes).
    • Verify the mobile drawer hides complex image layouts.
    • Verify the MCP tools correctly read and write menu payloads containing the new image fields.
  4. Once the test suite is fully designed and implemented, publish TEST_READY.md at the project root.
  5. Provide continuous progress updates in progress.md inside your working directory. Your parent is f5557127-1c9c-40d2-90e6-d996a7381786. Report back via send_message when TEST_READY.md is published.