发布

  • [OPIK-6917] [QA] fix: update E2E create-flow POMs + specs for OPIK-6818 redesign (#7040)

    frostbyte_neo 发布于 2026-06-12 09:09:34 +00:00

    The dataset & test-suite creation redesign (OPIK-6818, #7014) changed the v2
    create UX and broke the create-path POMs in the E2E smoke suite.

    • datasets.page.ts / test-suites.page.ts: drive the new "Use SDK" sidebar
      (empty-state card or header dropdown) instead of the removed 3-step dialog;
      fill Name + "Description (optional)"; submit via the footer "Create …"
      button (sidebar closes, no success screen). The test-suite POM applies
      assertions/pass-criteria after creation via the in-suite "Test settings"
      dialog, since SDK-create no longer accepts them.
    • test-suites-smoke.spec.ts: the UI-created suite is now born empty, so the
      first SDK item-insert commits as v1 (was v2) — assertion updated. Added a
      test.skip guard when no ANTHROPIC_API_KEY/OPENAI_API_KEY is set and made the
      judge model honor the available provider key; the bridge LLM judge
      authenticates via LiteLLM using the bridge process env, not the
      backend-stored key.

    Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com

    下载附件