test(settings): point the RemoteCrewPanel diagnosis helper at the ErrorNotice - #8828
Conversation
…orNotice Batches settings-2 (#8749) and settings-1 (#8729) crossed on main: #8749 moved the diagnosis note to the shared ErrorNotice (role="alert", testId remote-crew-diagnosis), then #8729 landed a test helper written against the old role="status" box. On main the helper's closest() returns null and the four "agent hand-off from the diagnosis note" cases fail on every PR's merge ref. Select the note by its testId instead.
UX Review (Fable 5) — ✅ PASSUX-level review of UX-Verdict: PASS Test-only change: a selector fix in [UX-REVIEWED] c5cfc06 |
GPT 5.6 Review — ✅ no blocking findingsGPT 5.6 completed its review of This comment is updated in place on each push. Review detailsNo findings. False positive or not applicable? A repository writer can comment: |
Design Review (Fable 5) — ✅ PASSDesign-level review of Verified: the component ( Design-Verdict: PASS Test-only cross-merge repair, verified against the component: the diagnosis note really is the [DESIGN-REVIEWED] c5cfc06 |
Opus 4.8 Review — ✅ no blocking findingsReviewed Verdict parsed from the review's SHA-scoped output markers for commit False positive or not applicable? A repository writer can comment: |
NicholasRBowers
left a comment
There was a problem hiding this comment.
Tier 1 auto-approve: test (1 file). Criteria: no conflict, no requested changes, security path denylist clean, design-doc gate clean, SAST annotations clean, security checklist all-NO, AI reviewers green. Category: test-only change re-pointing the RemoteCrewPanel diagnosis helper at the ErrorNotice testid after #8749 moved the note off role=status.
Problem / Motivation
Main is red on four
RemoteCrewPanel.test.tsxcases (agent hand-off from the diagnosis note): every open PR's merge ref fails them (seen on #8816). Two settings batches crossed: #8749 (settings-2) moved the diagnosis note to the sharedErrorNotice(role="alert",testId="remote-crew-diagnosis"), then #8729 (settings-1) landed a test helper written against the oldrole="status"box, soclosest('[role="status"]')returnsnullandwithin(null)throws.What changed
One helper in the test: select the note by its
remote-crew-diagnosistestId instead of walking up to arole="status"ancestor that no longer exists. No product code touched.Tests
Per the owner's standing instruction no suite was run locally; CI verifies. Unblocker for #8816 and any other PR whose merge ref includes both #8729 and #8749.
Related Issues
Cross-merge of #8729 and #8749. Unblocks #8816.
Checklist