Skip to content

Event Logs UI phase 2: Event Logs screenshot harness #828

Open

Description

@adamgell

Part of #823.
Spec: docs/superpowers/specs/2026-10-08-event-logs-workbench-ui-handoff-design.md (see the section references below).
Design: Claude Design canvas "Event Log Viewer Redesign" (board exports to be attached).

Spec: §14.2

Scope (2 files)

  • e2e/fixtures/event-log-data.ts (new): TS port of the mockup generator (seed 1337, 25 templates,
    ~1,331 events; Security as an accessDenied coverage gap); synthetic analysis-session and diagnosis payloads.
    Placeholder user names only.
  • e2e/screenshots/capture.spec.ts: event-logs captures (table, selected + dock, grouped, timeline,
    charts, correlation) using window.__e2e_ipc_overrides__ for the evtx_* commands listed in §14.2.

Acceptance

  • npm run screenshots -- -g event-logs produces deterministic PNGs at 1440×900 @2x.
  • Fixture contains no real machine names, SIDs, tenant IDs, or user names.
  • Before Phase 3 the captures show the current UI (baseline for comparison).

Generated by Claude Code

Activity

  1. adamgell commented on Oct 9, 2026

    @adamgell
    OwnerAuthor

    Lane started: branch feat/event-logs-screenshot-harness, cut from main at 1d9a2b0.

    The captures go in a new file, e2e/screenshots/event-logs.spec.ts, instead of capture.spec.ts.

    The fixture ports the mockup's wbBuild generator: seed 1337, 25 templates, timestamps from a fixed base date.

    • The mockup's user name is replaced with user01, per spec §3.4.
    • Security is reported as an accessDenied coverage gap.

    Per the acceptance criteria, the captures show the current UI as the baseline before Phase 3.

  2. adamgell commented on Oct 10, 2026

    @adamgell
    OwnerAuthor

    PR #880 is merge-ready at d6de74c5. CI is green at that head (16 of 16 check runs, including the always-on engine drift test), CodeRabbit approved that exact commit after a full review, and a clean final charter review is posted on the PR (#880 (comment)). The review viewed both committed PNGs and sampled the fixtures: every identifier is synthetic. #880 and #873 (also merge-ready) rewrite the same doc comment in playwright.screenshots.config.ts, and #873 adds the host-path guard (#892). Merge them in either order; Main then adds a follow-up commit to the second one that resolves the comment and calls assertNoHostPaths before the two Event Logs captures, and takes it through CodeRabbit and a final review again.

  3. adamgell commented on Oct 10, 2026

    @adamgell
    OwnerAuthor

    PR #880 is merge-ready again at 3a64d692. It took main after #873, adds the host-path guard before both Event Logs captures, and recaptured the PNGs with the 24px status bar (checked: synthetic identifiers only). CI is green at that head (16 of 16), CodeRabbit approved that exact commit after a full review, and a clean final charter review is posted on the PR (#880 (comment)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttestTesting relatedworkspaceWorkspace UI area

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions