fix(settings): update ConnectedServices test for current API#20041
Open
sreecharan-desu wants to merge 5 commits intomozilla:mainfrom
Open
fix(settings): update ConnectedServices test for current API#20041sreecharan-desu wants to merge 5 commits intomozilla:mainfrom
sreecharan-desu wants to merge 5 commits intomozilla:mainfrom
Conversation
Contributor
Author
|
Note: This supersedes the earlier PR (#19931), which I accidentally closed while resolving the signing and build issues. |
Contributor
|
I'm sorry, but this PR doesn't contain your earlier changes to the files, only updated tests. The updated test is also nonsensical. |
packages/fxa-settings/src/components/Settings/ConnectedServices/index.test.tsx
Outdated
Show resolved
Hide resolved
82435eb to
5b02a8b
Compare
Contributor
Author
|
Thanks for catching that! I've restored the missing implementation file from the previous PR which I accidentally lost during the re-creation. The tests should make sense now as they align with the updated grouping logic. |
Contributor
Author
|
ConnectedServices tests are passing with the latest mock data updates: |
MagentaManifold
requested changes
Feb 12, 2026
packages/fxa-settings/src/components/Settings/ConnectedServices/index.tsx
Outdated
Show resolved
Hide resolved
packages/fxa-settings/src/components/Settings/ConnectedServices/index.test.tsx
Show resolved
Hide resolved
packages/fxa-settings/src/components/Settings/ConnectedServices/index.test.tsx
Outdated
Show resolved
Hide resolved
Contributor
Author
|
I've addressed your feedback:
All 29 tests are now passing locally. |
Contributor
Author
|
Self-check complete. I've verified the fix against the core issue. Local test results (29/29 passing): Verified that:
|
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.
Because
The ConnectedServices tests started failing after recent changes, as they were still using the old
groupedByNamefield.This pull request
groupedByNameusageIssue that this pull request solves
Closes: #17370
Checklist