npm notice run e2e
npm notice run playwright test --workers=1 --retries=0

Running 56 tests using 1 worker

(node:249960) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  ✓   1 [chromium] › tests/e2e/agents.spec.js:4:1 › agents page shows demo cards and edit drawer opens (2.4s)
  ✓   2 [chromium] › tests/e2e/agents.spec.js:28:1 › agent drawer configures on-demand tool discovery and catalog sections (2.6s)
  ✓   3 [chromium] › tests/e2e/agents.spec.js:51:1 › agent lifecycle stale conflict shows localized recovery message (1.7s)
  ✓   4 [chromium] › tests/e2e/api-keys.spec.js:4:1 › api keys page opens create key flow (3.1s)
  ✓   5 [chromium] › tests/e2e/api-keys.spec.js:65:1 › failed clipboard write preserves one-time key material (2.2s)  # community-scope: allow=one-time-token
  ✓   6 [chromium] › tests/e2e/api-keys.spec.js:101:1 › ambiguous create failure reconciles metadata before deliberate retry (2.6s)
  ✓   7 [chromium] › tests/e2e/api-keys.spec.js:136:1 › stale create response reconciles metadata without changing a newer modal generation (2.8s)
  ✓   8 [chromium] › tests/e2e/api-keys.spec.js:217:1 › duplicate key revoke and delete clicks send one request while the first request is pending (2.6s)
  ✓   9 [chromium] › tests/e2e/approvals.spec.js:4:1 › logs approval panel renders safe pending approval metadata (2.2s)
  ✓  10 [chromium] › tests/e2e/login.spec.js:41:1 › login page rejects invalid credentials (971ms)
  ✓  11 [chromium] › tests/e2e/login.spec.js:49:1 › login page signs in and redirects to operations (1.1s)
  ✓  12 [chromium] › tests/e2e/login.spec.js:81:1 › login page switches to bootstrap mode and submits one-time token (1.1s)  # community-scope: allow=one-time-token
  ✓  13 [chromium] › tests/e2e/login.spec.js:107:1 › CrankApi attaches csrf token to unsafe auth requests (519ms)
  ✓  14 [chromium] › tests/e2e/logs-usage.spec.js:4:1 › logs and usage pages show seeded data (2.4s)
  ✓  15 [chromium] › tests/e2e/observability.spec.js:4:1 › shell and wizard expose stable diagnostics hooks (2.4s)
  ✓  16 [chromium] › tests/e2e/observability.spec.js:19:1 › secrets page exposes stable secret management hooks (1.8s)
  ✓  17 [chromium] › tests/e2e/observability.spec.js:32:1 › API errors retain only bounded canonical support identities (1.4s)
  ✓  18 [chromium] › tests/e2e/onboarding.spec.js:70:1 › optional Getting Started checklist is server-derived, resumable, bilingual and accessible (3.8s)
  ✓  19 [chromium] › tests/e2e/onboarding.spec.js:136:1 › onboarding error exposes safe support correlation and retries without a client completion bypass (2.1s)
  ✓  20 [chromium] › tests/e2e/onboarding.spec.js:176:1 › validation, upstream and compatibility errors recover from the last authoritative onboarding step (2.6s)
  ✓  21 [chromium] › tests/e2e/onboarding.spec.js:222:1 › authentication recovery returns to an incomplete authoritative onboarding projection (3.0s)
  ✓  22 [chromium] › tests/e2e/onboarding.spec.js:250:1 › a BroadcastChannel refresh updates a second open tab from server progress (2.7s)
  ✓  23 [chromium] › tests/e2e/onboarding.spec.js:276:1 › bursty browser refresh signals coalesce into one request plus one trailing refresh (1.8s)
  ✓  24 [chromium] › tests/e2e/onboarding.spec.js:336:1 › stale onboarding deep link requires server reset before explicit reselection (2.5s)
  ✓  25 [chromium] › tests/e2e/onboarding.spec.js:371:1 › one-time key connection config is never recoverable after the reveal is lost (2.9s)  # community-scope: allow=one-time-token
  ✓  26 [chromium] › tests/e2e/onboarding.spec.js:410:1 › first value is proven only by a real tools/call through the public MCP endpoint (11.0s)
  ✘  27 [chromium] › tests/e2e/operation-lifecycle.spec.js:4:1 › Operation lifecycle keeps published versions immutable and exposes safe correlation (1.5s)
(node:250896) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  ✓  28 [chromium] › tests/e2e/operation-lifecycle.spec.js:132:3 › catalog lifecycle actions are state-aware in ru (3.7s)
  ✓  29 [chromium] › tests/e2e/operation-lifecycle.spec.js:132:3 › catalog lifecycle actions are state-aware in en (3.3s)
  ✓  30 [chromium] › tests/e2e/operations.spec.js:14:1 › operations page shows demo catalog and filter works (1.7s)
  ✓  31 [chromium] › tests/e2e/operations.spec.js:26:1 › operations page imports OpenAPI methods as drafts (3.2s)
  ✓  32 [chromium] › tests/e2e/operations.spec.js:144:1 › OpenAPI upload rejects invalid files locally and restores focus after Escape (2.9s)
  ✓  33 [chromium] › tests/e2e/operations.spec.js:210:1 › OpenAPI upload recovers from pagehide and a preview server error (2.3s)
  ✓  34 [chromium] › tests/e2e/operations.spec.js:245:1 › OpenAPI apply cancellation preserves the import job for an idempotent retry (5.1s)
  ✓  35 [chromium] › tests/e2e/operations.spec.js:344:1 › OpenAPI apply preserves job authority after language or workspace changes (3.9s)
  ✓  36 [chromium] › tests/e2e/operations.spec.js:435:1 › OpenAPI upload only renders the latest selected file and clears reset or close races (3.5s)
  ✓  37 [chromium] › tests/e2e/operations.spec.js:515:1 › OpenAPI upload ignores a stale failure and renders only correlation identifiers (3.2s)
  ✓  38 [chromium] › tests/e2e/secrets.spec.js:4:1 › created workspace secret renders styled table actions (1.8s)
  ✓  39 [chromium] › tests/e2e/secrets.spec.js:30:1 › secret modal shows fields for selected secret kind only (1.9s)
  ✓  40 [chromium] › tests/e2e/secrets.spec.js:69:1 › generic json secret modal stays inside compact viewport (1.7s)
  ✓  41 [chromium] › tests/e2e/secrets.spec.js:88:1 › secret modal clears sensitive values and locks duplicate submit while saving (2.0s)
  ✓  42 [chromium] › tests/e2e/secrets.spec.js:141:1 › stale secret rotation cannot close or report success for a newer modal context (2.4s)
  ✓  43 [chromium] › tests/e2e/staging-authenticated.spec.js:16:1 › authenticated staging smoke logs in and exposes session json (1.5s)
  ✓  44 [chromium] › tests/e2e/staging-authenticated.spec.js:25:1 › authenticated staging smoke opens core pages without console errors (4.4s)
  ✓  45 [chromium] › tests/e2e/wizard.spec.js:23:1 › mobile wizard progress connector crosses the indicator centers (1.7s)
  ✓  46 [chromium] › tests/e2e/wizard.spec.js:46:1 › onboarding helper does not cover wizard navigation (1.8s)
  ✓  47 [chromium] › tests/e2e/wizard.spec.js:52:1 › onboarding helper does not cover wizard navigation on mobile (1.4s)
  ✓  48 [chromium] › tests/e2e/wizard.spec.js:59:1 › wizard loads and protocol selection updates flow (2.1s)
  ✓  49 [chromium] › tests/e2e/wizard.spec.js:80:1 › community wizard exposes REST-only protocol flow (2.7s)
  ✓  50 [chromium] › tests/e2e/wizard.spec.js:95:1 › REST method callout clears when switching to methods without request body (3.5s)
  ✓  51 [chromium] › tests/e2e/wizard.spec.js:152:1 › wizard loads reusable upstreams from backend (2.4s)
  ✓  52 [chromium] › tests/e2e/wizard.spec.js:191:1 › wizard builds visual request mappings from JSON sample and path params (4.3s)
  ✓  53 [chromium] › tests/e2e/wizard.spec.js:253:1 › wizard edit mode hydrates fields from operation version snapshot (3.0s)
  ✓  54 [chromium] › tests/e2e/wizard.spec.js:475:1 › wizard shows agent-facing MCP preview from current draft fields (3.3s)
  ✓  55 [chromium] › tests/e2e/wizard.spec.js:674:1 › wizard edit mode preserves explicit request mapping targets on save (2.7s)
  ✓  56 [chromium] › tests/e2e/workspace-settings.spec.js:4:1 › workspace and settings pages show live session data (2.0s)


  1) [chromium] › tests/e2e/operation-lifecycle.spec.js:4:1 › Operation lifecycle keeps published versions immutable and exposes safe correlation

    Error: page.evaluate: Error: csrf validation failed
        at f (http://127.0.0.1:3300/js/bundles/protected-core.70fc1c2160cb.js:3:70752)
        at async eval (eval at evaluate (:303:30), <anonymous>:60:21)
        at async <anonymous>:329:30
        at f (http://127.0.0.1:3300/js/bundles/protected-core.70fc1c2160cb.js:3:70752)
        at async eval (eval at evaluate (:303:30), <anonymous>:60:21)
        at async <anonymous>:329:30
        at <checkout>/apps/ui/tests/e2e/operation-lifecycle.spec.js:9:31

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    test-results/operation-lifecycle-Operat-51fc7-nd-exposes-safe-correlation-chromium/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    test-results/operation-lifecycle-Operat-51fc7-nd-exposes-safe-correlation-chromium/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/operation-lifecycle-Operat-51fc7-nd-exposes-safe-correlation-chromium/error-context.md

  1 failed
    [chromium] › tests/e2e/operation-lifecycle.spec.js:4:1 › Operation lifecycle keeps published versions immutable and exposes safe correlation
  55 passed (2.5m)
