Skip to content

DataGrid: use mocked API response in RemoteGrouping demo test#34156

Queued
dmirgaev wants to merge 4 commits into
DevExpress:26_1from
dmirgaev:26_1__remote_grouping_mocked_api
Queued

DataGrid: use mocked API response in RemoteGrouping demo test#34156
dmirgaev wants to merge 4 commits into
DevExpress:26_1from
dmirgaev:26_1__remote_grouping_mocked_api

Conversation

@dmirgaev

Copy link
Copy Markdown
Contributor

No description provided.

@dmirgaev dmirgaev self-assigned this Jun 26, 2026
Copilot AI review requested due to automatic review settings June 26, 2026 16:05
@dmirgaev dmirgaev requested a review from a team as a code owner June 26, 2026 16:05

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

Updates the demos visual testing suite to make the DataGrid RemoteGrouping demo test deterministic by mocking the remote WidgetsGalleryDataService API, and adjusts skip lists to re-enable the demo in the test matrix.

Changes:

  • Added a TestCafe RequestMock and attached it to the DataGrid.RemoteGrouping fixture via requestHooks.
  • Removed RemoteGrouping from multiple skip lists so it can run in the visual test matrix.
  • Introduced a new API mock module that returns grouped payloads for the RemoteGrouping scenario.

Reviewed changes

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

File Description
apps/demos/utils/visual-tests/matrix-test-helper.ts Removes the default hardcoded skip for RemoteGrouping in the manual test runner.
apps/demos/testing/widgets/datagrid/RemoteGrouping.test.ts Adds a request hook to run the RemoteGrouping screenshots against a mocked API.
apps/demos/testing/widgets/datagrid/apiMocks/remoteGroupingMock.ts New TestCafe RequestMock returning grouped data tailored for the RemoteGrouping demo.
apps/demos/testing/skipped-tests.js Re-enables RemoteGrouping in the common demo matrix by removing it from the skip list.

Comment thread apps/demos/testing/skipped-tests.js Outdated
Comment thread apps/demos/testing/skipped-tests.js Outdated
Comment thread apps/demos/testing/skipped-tests.js Outdated
Comment thread apps/demos/testing/skipped-tests.js Outdated
Comment thread apps/demos/testing/widgets/datagrid/apiMocks/remoteGroupingMock.ts Outdated
Copilot AI review requested due to automatic review settings June 29, 2026 10:58

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 4 comments.

Comment thread apps/demos/testing/skipped-tests.js
Comment thread apps/demos/testing/skipped-tests.js
Comment thread apps/demos/testing/skipped-tests.js
Comment thread apps/demos/testing/skipped-tests.js
@dmirgaev dmirgaev force-pushed the 26_1__remote_grouping_mocked_api branch from 6092cc1 to b64864c Compare June 29, 2026 11:21
@dmirgaev dmirgaev added this pull request to the merge queue Jun 29, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 29, 2026
@dmirgaev dmirgaev added this pull request to the merge queue Jun 29, 2026
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