Skip to content

PivotGrid - Unskip and mock XMLA store tests#32711

Open
Tucchhaa wants to merge 5 commits intoDevExpress:26_1from
Tucchhaa:xmla_26_1
Open

PivotGrid - Unskip and mock XMLA store tests#32711
Tucchhaa wants to merge 5 commits intoDevExpress:26_1from
Tucchhaa:xmla_26_1

Conversation

@Tucchhaa
Copy link
Contributor

No description provided.

@Tucchhaa Tucchhaa self-assigned this Feb 26, 2026
@Tucchhaa Tucchhaa added the 26_1 label Feb 26, 2026
@Tucchhaa Tucchhaa marked this pull request as ready for review February 26, 2026 14:16
@Tucchhaa Tucchhaa requested a review from a team as a code owner February 26, 2026 14:16
Copilot AI review requested due to automatic review settings February 26, 2026 14:16
Copy link
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

This PR refactors the XMLA store tests for the PivotGrid component by removing the dependency on an intranet environment and replacing actual server calls with mocked requests. The changes enable these tests to run in any environment by stubbing the sendRequest method and validating the generated XMLA queries instead of executing them against a live server.

Changes:

  • Converted XMLA store tests from integration tests to unit tests using stubs
  • Removed intranet environment checks and related infrastructure
  • Deleted the pivotGridTestSettings.js file containing the internal server URL

Reviewed changes

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

Show a summary per file
File Description
store.xmla.tests.js Replaced live XMLA store requests with mocked sendRequest stubs; tests now validate query generation instead of actual server responses
dataSource_bundled.tests.js Removed XMLA store integration tests that required intranet access
RunSuite.cshtml Removed window.INTRANET global variable declaration
RunFlags.cs Removed IsIntranet property from run flags
Program.cs Removed IsIntranet() method and its DNS-based intranet detection logic
BaseRunViewModel.cs Removed IsIntranet property from view model
MainController.cs Removed assignment of IsIntranet property to view models
pivotGridTestSettings.js Deleted file containing internal XMLA server URL

Copy link
Contributor

@sjbur sjbur left a comment

Choose a reason for hiding this comment

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

Fix CI please

Copilot AI review requested due to automatic review settings February 27, 2026 13:03
Copy link
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 7 out of 8 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants