Repository navigation
test(e2e): the old-phone layout baseline lists customTitle on terminal rows - #31127
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to
|
ELI5
One of the recorded "what the server sends an old phone" test files was out of date. A later change added a field to each terminal row, but the recording wasn't updated, so the test fails on main no matter how Orca is built. This PR updates the recording to match.
What Changed
tests/e2e/layout-compat-baselines.json: the Linuxold-phone-on-new-serverbaseline'sterminalRowFieldsnow includescustomTitle.customTitleon every row (mobile-session-terminal-projection.ts:73). The baseline was recorded on 10-11 (test(e2e): mixed-version, two-client and phone layout baselines recorded on main #27688), so it never had the field.This is test-only. Product behaviour doesn't change.
Why
The spec only runs in manual and full runs, so the stale baseline went unnoticed until the manual switch-on test leg (#31108) ran it. Updating the recorded shape is the correct fix, because the field is intended.
Linked Issue
Found by the switch-on headless leg in track H (#31108). No issue.
Visual Proof
N/A. Test data only.
Testing
The fix is shown by two runs on Linux CI, at the same commit, before this change:
e2e.ymlrun 39424947430, switch off: the spec fails, and the only difference from the baseline is+ "customTitle".Locally on macOS, where no baseline exists, the observation includes
customTitlewith the switch on and off alike. The config routing suites pass.Review
Agent skill upstream boundary
Notes
Test data only. No platform, SSH or compatibility impact.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)