Skip to content
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

fix: getClientRectangle method fixed #3016

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

Bayheck
Copy link
Contributor

@Bayheck Bayheck commented Aug 27, 2024

Purpose

Sometime the first rectangle might have zero width/height which results in error.

Approach

Filter through all rectangles from getClientRects.

References

Testcafe PR: DevExpress/testcafe#8261

Pre-Merge TODO

  • Write tests for your proposed changes
  • Make sure that existing tests do not fail

@Aleksey28 Aleksey28 requested a review from PavelMor25 August 30, 2024 07:53
@PavelMor25 PavelMor25 merged commit 763d039 into DevExpress:master Aug 30, 2024
11 checks passed
Copy link

Release v31.7.3 addresses this.

1 similar comment
Copy link

github-actions bot commented Sep 3, 2024

Release v31.7.3 addresses this.

aleks-pro pushed a commit to DevExpress/testcafe that referenced this pull request Sep 16, 2024
<!--
Thank you for your contribution.

Before making a PR, please read our contributing guidelines at

https://github.com/DevExpress/testcafe/blob/master/CONTRIBUTING.md#code-contribution

We recommend creating a *draft* PR, so that you can mark it as 'ready
for review' when you are done.
-->

## Purpose
Hammerhead returned invalid results.

## Approach
Update testcafe-hammerhead package.

## References
Hammerhead PR:
DevExpress/testcafe-hammerhead#3016
Closes: #8237

## Pre-Merge TODO
- [ ] Write tests for your proposed changes
- [ ] Make sure that existing tests do not fail

---------

Co-authored-by: Bayheck <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants