e2e: Move cursor before test to avoid unexpected hover#32787
Merged
marker-dao merged 8 commits intoDevExpress:26_1from Mar 5, 2026
Merged
e2e: Move cursor before test to avoid unexpected hover#32787marker-dao merged 8 commits intoDevExpress:26_1from
marker-dao merged 8 commits intoDevExpress:26_1from
Conversation
02287a2 to
b6822e5
Compare
EugeniyKiyashko
previously approved these changes
Mar 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the TestCafe runners to attempt to reset UI state before each test by programmatically dispatching a click event on document.body inside the test.before hook.
Changes:
- Dispatch a synthetic
MouseEvent('click')at(0,0)before blurring the active element in the main e2e TestCafe runner. - Apply the same synthetic click in the demos visual-tests TestCafe runner.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| e2e/testcafe-devextreme/runner.ts | Adds a synthetic body click in the per-test before hook, alongside existing focus/selection cleanup. |
| apps/demos/utils/visual-tests/testcafe-runner.ts | Adds the same synthetic body click in the per-test before hook for the demos visual-test runner. |
r-farkhutdinov
previously approved these changes
Mar 4, 2026
23cc069
added 8 commits
March 5, 2026 15:30
cc51ae8 to
297ec1f
Compare
EugeniyKiyashko
approved these changes
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.