发布

  • [OPIK-3522] Improve Playwright E2E test agent workflow (#5377)

    frostbyte_neo 发布于 2026-02-24 12:33:13 +00:00

    • Rewrite generate-e2e-test command to delegate to SKILL.md and require
      playwright-test MCP tools instead of just reading code files
    • Add safety check to verify ~/.opik.config points to localhost before
      running any SDK operations (prevents accidental cloud data creation)
    • Add data-testid guidance to test-conventions, generator, healer, and
      page-object-catalog so agents can add test IDs to React components
    • Fix playwright.config.ts import of global-setup that caused
      test.describe() initialization error with playwright-test MCP server
    • Fix seed test: remove test.describe() wrapper and rename to 'seed'
      as required by planner_setup_page MCP tool
    • Add detailed input guidance to command (good examples, optional PR/Jira
      context, feature description best practices)

    Co-authored-by: Andrei Căutișanu andreicautisanu@Andreis-MacBook-Pro.local
    Co-authored-by: Cursor cursoragent@cursor.com

    下载附件