orca/tests/e2e/helpers
OrcaWin b3b5031883
test(e2e): deliver node burst via temp file so PowerShell quoting can't break OSC title (#8521) (#9391)
The e2e terminal helpers typed `node -e ${JSON.stringify(script)}` into the
PTY. JSON.stringify emits POSIX-style \" escapes, which PowerShell does not
honor: it re-splits the program on `;` inside the payload, node throws
'Expected unicode escape' before emitting a single byte, and the OSC-title
assertions fail deterministically on Windows (default shell = PowerShell).

Stage the program in a unique temp .cjs file instead and send
`node "<forward-slash path>"` — no shell ever parses the program source, so
delivery is byte-identical on PowerShell, cmd, bash, and zsh (verified with
hexdumps: 07 1b 5d 30 3b ... 07 matches exactly across shells). Forward
slashes keep the quoted path valid in both POSIX shells and PowerShell; the
Codex startup marker moves from argv into the script body so no argument
quoting remains. macOS/Linux payload bytes are unchanged — only the delivery
mechanism differs. Test infrastructure only; no product code touched.
2026-07-20 03:04:28 -04:00
..
agent-hook-endpoint.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
computer-cli-driver.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
computer-driver.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
dead-terminal.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
docker-ssh-relay-connection.ts Ssh watcher isolation e2e (#8494) 2026-07-12 23:50:00 -07:00
docker-ssh-relay-processes.ts Ssh watcher isolation e2e (#8494) 2026-07-12 23:50:00 -07:00
docker-ssh-relay-target.ts Ssh watcher isolation e2e (#8494) 2026-07-12 23:50:00 -07:00
e2e-completed-onboarding-profile.ts feat(status-bar): notify upgraded users usage meters show % used (#8319) 2026-07-11 14:49:49 -07:00
electron-launch-args.ts
electron-process-shutdown.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
file-explorer.ts
local-https-test-certificate.ts fix(browser): local HTTPS Try HTTPS + cert proceed (#8454) (#9104) 2026-07-16 19:11:34 -07:00
local-https-test-server.ts fix(browser): local HTTPS Try HTTPS + cert proceed (#8454) (#9104) 2026-07-16 19:11:34 -07:00
markdown-ordered-list-exit.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
orca-app.ts fix(terminal): retire sessions when tabs close (#8628) 2026-07-14 00:15:34 -07:00
orca-restart.ts test(e2e): prove the terminal daemon survives a main-process crash on Windows (#7742) (#9311) 2026-07-19 11:27:29 -07:00
pr-comments-sidebar-fixture.ts Make PR comments sidebar easier to triage and read (#5996) 2026-06-21 23:49:43 -07:00
restored-terminal-input-readiness.ts test(e2e): harden terminal restart regressions on Windows (#9064) 2026-07-17 17:18:36 -07:00
run-node-script-in-terminal.ts test(e2e): deliver node burst via temp file so PowerShell quoting can't break OSC title (#8521) (#9391) 2026-07-20 03:04:28 -04:00
runtime-types.ts
seeded-test-repo.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
shortcuts.ts
source-control-ai-generation.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
source-control-ai-generators.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
store.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
terminal-hidden-parking.ts fix(e2e): repair release e2e suite (parking regression tests, stale/flaky specs, profile switcher gate) (#8486) 2026-07-12 22:40:57 -07:00
terminal-input-probes.ts test(e2e): harden terminal restart regressions on Windows (#9064) 2026-07-17 17:18:36 -07:00
terminal-pty-injection.ts Stabilize main for v1.4.51 release (#4841) 2026-06-07 17:10:45 -07:00
terminal-pty-write-spy.ts Fix paste ownership, input bounds, and IPC validation 2026-06-19 17:14:55 -07:00
terminal-title-log.ts
terminal.ts test(e2e): harden terminal restart regressions on Windows (#9064) 2026-07-17 17:18:36 -07:00
worktree-registration.ts Fix stale and race-prone E2E test failures (#7468) 2026-07-05 19:46:49 -07:00