Repository navigation
test(web): replace AP32 owner doubles with real UI behavior - #45342
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #45342 +/- ##
==========================================
- Coverage 89.77% 89.77% -0.01%
==========================================
Files 6239 6239
Lines 390902 390902
Branches 79285 79285
==========================================
- Hits 350932 350929 -3
- Misses 33872 33875 +3
Partials 6098 6098
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 2, 2026 14:51
hyoban
requested review from
CodingOnStar,
JzoNgKVO,
iamjoel,
zhsama and
zxhlyh
as code owners
November 2, 2026 14:51
lyzno1
approved these changes
Nov 2, 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.
Existing tests fabricate template success, approval submissions, mention IDs and run-viewer output through child doubles. Keep the real owners and assert actual forms, selected traces, readonly serialized data, masked secrets and streaming action availability.
Refactor 10 existing specs (AP32), retaining the existing behavior scope and dropping redundant or mock-only cases. Network responses stay at service/generated console boundaries; the shared Monaco SDK adapter remains the only editor replacement. No new cases, helpers, production changes or lockfile changes.
app/components/app/create-app-dialog/__tests__/index.spec.tsxapp/components/app/text-generate/item/__tests__/workflow-body.spec.tsxapp/components/workflow/comment/comment-input.spec.tsxapp/components/workflow/nodes/_base/components/workflow-panel/last-run/__tests__/index.spec.tsxapp/components/base/message-log-modal/__tests__/index.spec.tsxapp/components/workflow/run/__tests__/result-panel.spec.tsxapp/components/workflow/run/loop-log/__tests__/loop-result-panel.spec.tsxapp/components/base/agent-log-modal/__tests__/result.spec.tsxapp/components/plugins/plugin-page/__tests__/debug-info.spec.tsxapp/components/base/chat/chat/__tests__/index.spec.tsxValidation: 51 existing unit cases + the interactive-mock boundary guard pass; targeted
vp check, full Web type-check, complete repository check and normal commit hooks pass (0 errors; 1226 existing root warnings). All 13 mutation probes fail as intended; production files restored byte-for-byte. Net 158 lines removed.