feat(atomic): Add E2E coverage for agent follow-up error handling#7909
Merged
Conversation
…quent test navigations in the describe block
Co-authored-by: SimonMilord <73316533+SimonMilord@users.noreply.github.com>
Contributor
|
what's the goal of this PR? adding E2E or adding storybook stories? |
Contributor
Author
tests were removed in a merge for some reason, I re-added them |
mmitiche
reviewed
Jul 7, 2026
mmitiche
approved these changes
Jul 7, 2026
mmitiche
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me, just a portion that can be refactored to avoid duplicating logic.
mmitiche
approved these changes
Jul 8, 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.
SFINT-6775
Adds comprehensive E2E test coverage for follow-up answer analytics and error handling in the
atomic-generated-answercomponent.Tested analytics on the following:
New tests for:
- Network failure → displays generic error message
- SSE turn-limit error (KNOWLEDGE:SSE_TURN_LIMIT_REACHED) → displays distinct turn-limit message
- SSE internal error (KNOWLEDGE:SSE_INTERNAL_ERROR) → displays generic error message
Storybook stories
FollowUpNetworkError,FollowUpTurnLimitError,FollowUpGenericErrordedicated stories that mock the follow-up endpoint to return each error type