Skip to content

perf(test): remove redundant desktop verification setup #2390

Description

@Astro-Han

Part of #2382.

Problem

Desktop verification repeatedly constructs the same expensive state:

  • Multiple Playwright tests launch Electron with identical long-transcript or long-sidebar fixtures.
  • Storybook smoke repeats viewport and color combinations that add no distinct assertion.

Increasing global worker concurrency would not remove this duplicated work and could reintroduce focus races.

Outcome

  • Merge compatible assertions using the same Electron fixture into coherent journeys.
  • Preserve distinct IPC, focus, scrolling, remount, persistence, lifecycle, and animation behavior.
  • Move final-state layout and text matrices to the cheapest suitable contract.
  • Keep the minimum Storybook matrix required by declared checks and retain catalog mounting coverage.
  • Keep Electron E2E and Storybook changes in separate PRs.

Include before/after test counts, page or Electron startup counts, and comparable wall time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions