Skip to content

AI Assistant: fix aichat screenshot tests#33698

Merged
anna-shakhova merged 7 commits into
DevExpress:26_1from
anna-shakhova:26_1__ai_chat_visual_tests
May 25, 2026
Merged

AI Assistant: fix aichat screenshot tests#33698
anna-shakhova merged 7 commits into
DevExpress:26_1from
anna-shakhova:26_1__ai_chat_visual_tests

Conversation

@anna-shakhova

Copy link
Copy Markdown
Contributor

No description provided.

@anna-shakhova anna-shakhova self-assigned this May 25, 2026
Copilot AI review requested due to automatic review settings May 25, 2026 12:28
@anna-shakhova anna-shakhova requested a review from a team as a code owner May 25, 2026 12:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR re-enables DataGrid AI Assistant visual TestCafe coverage and updates selectors/screenshot targets so the popup content is captured more reliably.

Changes:

  • Unskips the AI Assistant visual fixture.
  • Narrows the AI Assistant chat selector to the popup overlay wrapper and scopes chat selectors to that element.
  • Updates several mocked AI action responses to real command names and screenshots to target popup content.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/testcafe-models/dataGrid/index.ts Locates the AI Assistant popup by overlay wrapper plus chat class.
packages/testcafe-models/dataGrid/aiAssistantChat.ts Overrides wrapper lookup and scopes chat element queries to the selected popup.
e2e/testcafe-devextreme/tests/dataGrid/common/aiAssistant/visual.ts Re-enables visual tests, updates screenshot targets, and fixes some mocked command payloads.

Comment thread e2e/testcafe-devextreme/tests/dataGrid/common/aiAssistant/visual.ts
Copilot AI review requested due to automatic review settings May 25, 2026 13:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Comment thread e2e/testcafe-devextreme/tests/dataGrid/common/aiAssistant/visual.ts Outdated
Comment thread e2e/testcafe-devextreme/tests/dataGrid/common/aiAssistant/visual.ts Outdated
Copilot AI review requested due to automatic review settings May 25, 2026 14:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

Comment thread e2e/testcafe-devextreme/tests/dataGrid/common/aiAssistant/visual.ts
Comment thread e2e/testcafe-devextreme/tests/dataGrid/common/aiAssistant/visual.ts
@anna-shakhova anna-shakhova merged commit 426ba4a into DevExpress:26_1 May 25, 2026
108 of 109 checks passed
@anna-shakhova anna-shakhova deleted the 26_1__ai_chat_visual_tests branch May 25, 2026 15:25
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.

3 participants