-
Notifications
You must be signed in to change notification settings - Fork 665
QUnit tests: get rid of material testing where possible #31459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QUnit tests: get rid of material testing where possible #31459
Conversation
…cult-to-shift-to-a-fluent-theme
There was a problem hiding this 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 |
No description provided.