Skip to content

TreeList - AI Assistant: parity e2e tests#33811

Open
Alyar666 wants to merge 2 commits into
DevExpress:26_1from
Alyar666:ai_assistant_e2e_treelist_parity_26_1
Open

TreeList - AI Assistant: parity e2e tests#33811
Alyar666 wants to merge 2 commits into
DevExpress:26_1from
Alyar666:ai_assistant_e2e_treelist_parity_26_1

Conversation

@Alyar666
Copy link
Copy Markdown
Contributor

@Alyar666 Alyar666 commented Jun 2, 2026

What does the PR change?

Adds e2e TestCafe tests verifying the AI Assistant on TreeList behaves identically to DataGrid (TreeList reuses grid_core): toolbar/popup/chat, sorting, searching, paging, column visibility, selection, row focusing, error paths and the in-flight lock — plus the TreeList-only differences (the grouping/summary commands are absent from the response schema) and hierarchical-data cases (test plan §6).

Part of splitting the AI Assistant e2e suite into per-area pull requests.

Adds e2e TestCafe tests verifying the AI Assistant behaves identically on TreeList (it reuses grid_core): toolbar/popup/chat, sorting, searching, paging, column visibility, selection, row focusing, error paths and the in-flight lock; plus the TreeList-only schema differences (grouping/summary commands absent) and hierarchical-data cases (plan §6). Includes the AI Assistant testcafe-models POM accessors the tests depend on.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 2, 2026 22:34
@Alyar666 Alyar666 requested a review from a team as a code owner June 2, 2026 22:34
@Alyar666 Alyar666 self-assigned this Jun 2, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds TreeList-focused e2e parity coverage for the Grid AI Assistant (TreeList reuses grid_core) and extends the TestCafe Page Object Models to support the new scenarios (chat accessors, suggestions, schema checks, focus helpers).

Changes:

  • Added a new TestCafe suite that verifies AI Assistant parity on TreeList (toolbar/popup/chat, sorting/searching/paging/visibility/selection/focus, error and in-flight lock behavior, plus TreeList-specific schema exclusions and hierarchy cases).
  • Extended devextreme-testcafe-models AI Assistant chat POM with additional accessors (input, suggestions, confirm dialog hooks, message bubble helpers, disabled-state checks).
  • Added DataGrid POM helpers to query current DataSource sort params and programmatically focus the AI Assistant toolbar button.

Reviewed changes

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

File Description
packages/testcafe-models/dataGrid/index.ts Adds DataGrid POM helpers for DataSource sort params and focusing the AI Assistant button.
packages/testcafe-models/dataGrid/aiAssistantChat.ts Expands AI Assistant chat POM to support new e2e assertions (input, suggestions, confirm dialog, message accessors, disabled states).
packages/testcafe-models/chat.ts Introduces a reusable getMessageBubbles() accessor and refactors getMessage() to use it.
e2e/testcafe-devextreme/tests/common/treeList/aiAssistant/functional.ts New TreeList AI Assistant parity/schema/hierarchy functional e2e coverage with mocked AIIntegration responses.

Comment thread packages/testcafe-models/dataGrid/aiAssistantChat.ts Outdated
Comment thread packages/testcafe-models/dataGrid/aiAssistantChat.ts
Copilot AI review requested due to automatic review settings June 5, 2026 10:49
@Alyar666 Alyar666 force-pushed the ai_assistant_e2e_treelist_parity_26_1 branch from 4bc6f2f to bcc06b0 Compare June 5, 2026 10:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 1 comment.

Comment thread packages/testcafe-models/dataGrid/aiAssistantChat.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.

2 participants