Skip to content

Conversation

@pharret31
Copy link
Contributor

No description provided.

@pharret31 pharret31 self-assigned this Oct 24, 2025
@pharret31 pharret31 added WIP Work in progress refactoring skip-cache force all tests 25_2 and removed WIP Work in progress labels Oct 24, 2025
@pharret31 pharret31 changed the title QUnit tests: get rid of *.material.tests.js QUnit tests: get rid of material testing where possible Oct 26, 2025
@pharret31 pharret31 removed the WIP Work in progress label Oct 26, 2025
@pharret31 pharret31 marked this pull request as ready for review October 26, 2025 15:23
@pharret31 pharret31 requested review from a team as code owners October 26, 2025 15:23
Copilot AI review requested due to automatic review settings October 26, 2025 15:23
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 removes redundant theme-specific test files and consolidates testing by eliminating unnecessary duplication across Material and Generic themes. The changes focus on streamlining QUnit tests for Toolbar, Accordion, PivotGrid, and Form components.

Key changes:

  • Removed shared test infrastructure files that were used to run identical tests across multiple themes
  • Deleted theme-specific test entry points for generic_light and material_blue_light themes
  • Created a single material-specific test file for Toolbar buttons and Form validation tests
  • Added a new TestCafe test for Accordion icon-only button rendering
  • Added import for FIELD_ITEM_CONTENT_WRAPPER_CLASS in form.tests.js

Reviewed Changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/devextreme/testing/tests/DevExpress.ui.widgets/toolbarParts/toolbar.themes.sharedTests.js Removed shared test infrastructure for toolbar theme testing
packages/devextreme/testing/tests/DevExpress.ui.widgets/toolbar.materialTheme.tests.js Removed material theme entry point (tests moved to toolbar.buttons.material.tests.js)
packages/devextreme/testing/tests/DevExpress.ui.widgets/toolbar.genericTheme.tests.js Removed generic theme test entry point
packages/devextreme/testing/tests/DevExpress.ui.widgets/toolbar.buttons.material.tests.js New consolidated test file for toolbar button rendering in material theme
packages/devextreme/testing/tests/DevExpress.ui.widgets/accordionParts/accordion.themes.sharedTests.js Removed shared test infrastructure for accordion theme testing
packages/devextreme/testing/tests/DevExpress.ui.widgets/accordion.materialTheme.tests.js Removed material theme test entry point
packages/devextreme/testing/tests/DevExpress.ui.widgets/accordion.genericTheme.tests.js Removed generic theme test entry point
packages/devextreme/testing/tests/DevExpress.ui.widgets.pivotGrid/pivotGrid.themes.sharedTests.js Removed shared test infrastructure for pivotGrid theme testing
packages/devextreme/testing/tests/DevExpress.ui.widgets.pivotGrid/pivotGrid.materialTheme.tests.js Removed material theme test entry point
packages/devextreme/testing/tests/DevExpress.ui.widgets.pivotGrid/pivotGrid.genericTheme.tests.js Removed generic theme test entry point
packages/devextreme/testing/tests/DevExpress.ui.widgets.form/form.tests.js Added import for FIELD_ITEM_CONTENT_WRAPPER_CLASS constant
packages/devextreme/testing/tests/DevExpress.ui.widgets.form/form.materialTheme.tests.js Removed most material theme tests, keeping only dx-invalid class validation tests
packages/devextreme/testing/tests/DevExpress.ui.widgets.form/form.material.tests.js New file with consolidated material theme form validation tests
e2e/testcafe-devextreme/tests/navigation/accordion/common.ts Added TestCafe test for accordion with icon-only button rendering

@pharret31 pharret31 merged commit 686769b into DevExpress:25_2 Oct 27, 2025
142 of 143 checks passed
@pharret31 pharret31 deleted the 25_2_2596-qunit-tests-research-how-its-difficult-to-shift-to-a-fluent-theme branch October 27, 2025 13:06
pharret31 added a commit to pharret31/DevExtreme that referenced this pull request Oct 27, 2025
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.

4 participants