Repository navigation
test(agent): pin the onboarding steps layout - StepsLayout (Closes #1648) - #1978
Merged
Merged
Conversation
Summary by t27-beesThis PR adds a contract test for Worth a look
Read: 1 files, +180 -0, the whole diff. Head |
β Tests passed β 3642/3712
|
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.
Closes #1648
What
The first suite for
apps/agent/entrypoints/onboarding/steps/StepsLayout.tsx(StepsLayout, the only export), underbun testin the agent group.describeblock:StepsLayoutTsxContract(appears nowhere else in the tree).useParamsanswers the first step,NavLinkrenders a plain anchor β the real one needs a live router context), the metrics track, the RPC provider, the auth client, and the storage-backed item modules in their live-proxy form (the onboarding, personalization and MCP-server items resolve the storage facade at call time, so later suites keep reading their own seeded values β the pattern proven in test(agent): pin the app selector - AppSelector (Closes #1536)Β #1967/test(agent): pin the first onboarding step - StepOne (Closes #1542)Β #1968).0 pass / 1 fail; restored β1 pass / 0 fail / 8 expect().git diff --name-onlylists only the new test file.Local gates
1 pass / 0 fail(8 expect());grep -c 'it('= 1; 1 + 0 blocked = 1.267 pass / 3 fail / 270 testsβ the 3 = the pre-existing port-helper noise, unchanged from baseline.No database, no container, no network.