-
Notifications
You must be signed in to change notification settings - Fork 664
DateBox, DateRangeBox: Remove skipped tests #32275
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
DateBox, DateRangeBox: Remove skipped tests #32275
Conversation
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 fixes previously skipped tests in DateBox and DateRangeBox test suites by correcting test logic and expectations to match actual component behavior.
Changes:
- Fixed DateBox test for calendar cell selection using Enter key by correcting event target expectation
- Updated three DateRangeBox validation tests to properly use
validator.validate()instead of keyboard-based external validation - Adjusted validation error expectations to match actual behavior where external validation replaces internal validation errors
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/datebox.tests.js | Unskipped and fixed test for Enter key press on calendar - corrected event target from calendar cell to input element |
| packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/dateRangeBox.tests.js | Unskipped three validation tests and updated them to use direct validator.validate() calls, adjusted error count expectations from 2 to 1 to reflect that external validation replaces rather than accumulates with internal validation errors |
packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/dateRangeBox.tests.js
Outdated
Show resolved
Hide resolved
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
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
220367d to
4d41e7d
Compare
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
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/datebox.tests.js
Outdated
Show resolved
Hide resolved
4d41e7d to
fd16fcf
Compare
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
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/datebox.tests.js
Outdated
Show resolved
Hide resolved
packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/dateRangeBox.tests.js
Show resolved
Hide resolved
0d0eb00 to
3a5684c
Compare
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
No description provided.