test(canvas/e2e): scope chat-desktop assertions to visible chat panel #2656
Reference in New Issue
Block a user
Delete Branch "fix/chat-desktop-scope-assertions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope chat-message and markdown assertions in
canvas/e2e/chat-desktop.spec.tsto the visible chat panel (#panel-chat [data-testid='chat-panel']).The hidden ConciergeShell mounts a second ChatTab; page-wide
page.getByText()/page.locator('pre')/page.locator('table')can resolve to invisible duplicate echo nodes and time out.Fixes E2E Chat regression on main (run 353239/job 477726).
Test-only change; no product code modified.
APPROVED: reviewed head
871bb9cd4a. CI/all-required is green. The diff is scoped to canvas/e2e/chat-desktop.spec.ts and only narrows text/markdown assertions to the visible #panel-chat chat panel, avoiding hidden ConciergeShell duplicate nodes. No product code, trigger, secret, security-sensitive, or performance-impacting changes found in the 5-axis pass.