Skip to content

chore(atomic): E2E tests for analytics triggered actions for Search Agent#7899

Merged
alexprudhomme merged 55 commits into
mainfrom
SFINT-6840
Jul 6, 2026
Merged

chore(atomic): E2E tests for analytics triggered actions for Search Agent#7899
alexprudhomme merged 55 commits into
mainfrom
SFINT-6840

Conversation

@SimonMilord

@SimonMilord SimonMilord commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

SFINT-6840

Added checks for analytics for the interactions in the search agent.

Also added a test to check the following:

After generating the 3rd answer, come back and interact with the 2nd answer and test these interactions:

  • like/dislike
  • copy-to-clipboard
  • follow-up
  • hover citations
  • click citations

To make sure analytics are sending the answerId of the given answer and not always the head answer.

@erocheleau erocheleau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not entirely sure I understand what's going on with the global variable for the answerIdSequence.

Could you explain a bit more what you're trying to do please?

Comment thread packages/atomic/src/components/search/atomic-generated-answer/e2e/page-object.ts Outdated
Comment thread packages/platform-mock-api/src/agent/generate-response.ts Outdated

@erocheleau erocheleau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks good now

Comment thread packages/atomic/src/components/search/atomic-generated-answer/e2e/page-object.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants