Skip to content

test(e2e): read Space rows from the separate Space window - #29627

Merged
nwparker merged 1 commit into
mainfrom
nwparker/e2e-space-window-spec
Oct 16, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/e2e-space-window-spec

Conversation

@nwparker

@nwparker nwparker commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​14 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​11
Prod 0 0 0 0

ELI5

A full-suite end-to-end test for the disk-usage ("Space") view was looking for its rows in the wrong window. Space now opens in its own window, so the test now looks there.

What Changed

  • Before: workspace-space-git-status.spec.ts called openSpacePage() and then waited 30s for 60 row checkboxes in the main Orca window. Since feat(space): open disk usage in a separate window #29513, openSpacePage() asks main to open a separate space.html window and leaves the main window's view unchanged, so the main window never shows those rows and the test failed every time (3/3 locally on main, and in the full-suite run 38888262404).
  • After: the test waits for the space.html window that Electron opened and runs the same two assertions (all 60 rows render, none says "git not checked") against that window.

No product code changes.

Why

This is a test update for intended behaviour, not a regression: #29513 moved Space into its own window on purpose, and the per-row git status check the test protects still works in the new window. The spec only runs in the scheduled/dispatched full e2e suite, so #29513's PR checks never ran it. Keeping the test and pointing it at the new window preserves its coverage, which is better than deleting it.

Linked Issue

N/A (release-gate triage of full e2e run 38888262404).

Visual Proof

N/A: test-only change.

Testing

  • ORCA_BACKGROUND_LAUNCH=1 ORCA_E2E_WEB_CLIENT=1 pnpm run test:e2e tests/e2e/workspace-space-git-status.spec.ts --workers=1 --repeat-each=3: 3/3 pass on macOS (it failed 3/3 before this change). The Space window opens hidden under background launch.

  • oxlint (root plus type-aware), check:code-quality:changed, pnpm typecheck, and the max-lines, focus-read, ts-nocheck and reliability-gate ratchets all pass.

  • Codex review (gpt-6.1-sol, high): no findings.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

Space opens in its own window since #29513, so the full-suite spec waited on
the main window for checkboxes that now render in space.html.
@nwparker
nwparker merged commit e6d871c into main Oct 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant