Repository navigation
test(web): exercise chat navigation and layout in Browser Mode - #46118
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #46118 +/- ##
=======================================
Coverage 90.15% 90.15%
=======================================
Files 6307 6307
Lines 394792 394792
Branches 79187 79187
=======================================
+ Hits 355935 355944 +9
+ Misses 32749 32739 -10
- Partials 6108 6109 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
hyoban
marked this pull request as ready for review
November 12, 2026 05:09
hyoban
requested review from
CodingOnStar,
iamjoel,
lyzno1 and
zxhlyh
as code owners
November 12, 2026 05:09
lyzno1
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace ten old chat suites with real owner journeys in Chromium. This removes seven participating child/module doubles and replaces callback/prop echoes and fabricated layout with accepted conversation content, native navigation, focus, scrolling, disclosure, media UI and activated downloads. The change is test-only.
All paths below are relative to
web/app/components/base/chat/chat/. The ten source specs are consolidated into ten Browser behavior domains; no scenario remains duplicated in unit.__tests__/index.spec.tsx__tests__/use-chat-layout.spec.tsx__tests__/log-actions.spec.tsxlog/__tests__/index.spec.tsx__tests__/try-to-ask.spec.tsx__tests__/content-switch.spec.tsxchat-input-area/__tests__/operation.spec.tsxanswer/__tests__/suggested-questions.spec.tsxanswer/__tests__/index.spec.tsxanswer/__tests__/basic-content.spec.tsxShared colocated presets compose real per-test locale/query providers and typed form fixtures without registering hooks or stubbing globals on import. Every retained literal mock has an immediate boundary comment. The largest Browser file is 224 lines.
Validation:
--maxWorkers=2.Scenario audit: redundant render/forwarding rows were merged; pure avatar/custom-node slot echoes and private disconnect/missing-ref stability proofs were dropped. The archived-conversation case now renders real answer content. The real Chat owner always attaches these refs. No race, rollback, queued-save, remote-sync or remote-response scenario was removed. No new feature-gap coverage or production change is included.
Production issue: #46120. The expected-failure comment links the issue, and the issue links this cleanup PR. The same content-size omission was also observed during narrower viewport reflow; this PR does not fix production. Existing
web/docs/test.mdcovers the applicable principles, so no guide PR is needed.Final CI on
768e633d48: Main CI Pipeline succeeds; required checks 9 success / 2 configured skips. Codecov project/web passes at 90.13% (+0.00 percentage points displayed). The optional project/api check is still pending publication despite complete head/base reports with 12 sessions each; no rerun, padding or empty-commit workaround.