Skip to content

M6-04: Add browser regression tests #45

Closed

Description

@DrunkOnJava

Created from the roadmap audit in TODO.md.

Source: https://github.com/DrunkOnJava/rvt-rs/blob/main/TODO.md#L814
Tracking commit: 1ec8105

Scope

Labels: priority:P1, type:test, area:viewer

  • Use Playwright to test:
    • viewer loads
    • dropzone visible
    • demo/sample load path
    • canvas nonblank after model load
    • category toggles work
    • element info panel opens
    • export buttons enable/disable correctly
    • diagnostics show partial-export status

Acceptance criteria:

  • Tests run in CI for viewer PRs.
  • Screenshots are captured on failure.

Definition of done

  • The TODO acceptance criteria for this section are implemented or explicitly superseded by a linked decision.
  • Tests, fixtures, or documentation are added at the level appropriate to the change risk.
  • User-facing behavior and limitations remain honest in README/docs/viewer messaging.
  • Relevant CI checks pass before the issue is closed.

Activity

  1. added
    area:viewer
    priority:P1
    type:test
    on Apr 25, 2026
  2. DrunkOnJava commented on May 23, 2026

    @DrunkOnJava
    OwnerAuthor

    Shipped: Playwright browser regression tests at viewer/tests/viewer-regression.spec.ts — viewer shell, dropzone, export button states, partial-decode diagnostics, category toggles, element info panel, canvas non-blank check. Gated in CI viewer job.

  3. DrunkOnJava commented on Aug 28, 2026

    @DrunkOnJava
    OwnerAuthor

    Triage (2026-08-28) — closing as done on main

    Verified against main @ 048bbdd / 21aa0e0.

    Acceptance criteria

    • Playwright covers: viewer load, dropzone, sample load path, non-blank canvas, category toggles, element info, export enable/disable, diagnostics partial-export status (viewer/tests/viewer-regression.spec.ts; also no-network.spec.ts)
    • Tests run in CI for viewer PRs (.github/workflows/deploy-viewer.yml pull_request paths include viewer/** + src/**; step “Browser regression tests”)
    • Failure artifacts: Playwright trace: 'retain-on-failure' + HTML report on CI (config in viewer/playwright.config.ts). Dedicated screenshot: only-on-failure is not set, but viewport screenshots are used in-test and traces retain failure context.

    Shipped in 048bbdd (“test: add viewer browser regressions”).

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

    area:viewerpriority:P1type:test

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions