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

Positioning to multiline elements #3004

Merged
merged 34 commits into from
May 29, 2024
Merged

Conversation

Bayheck
Copy link
Contributor

@Bayheck Bayheck commented May 7, 2024

Purpose

getBoundingClientRect does not return border boxes of each mutiline element.

Approach

Replace getBoundingClientRect with getClientRects

References

DevExpress/testcafe#8183

Pre-Merge TODO

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

@Bayheck Bayheck changed the title testing positioning to multiline elements May 10, 2024
@Bayheck Bayheck changed the title positioning to multiline elements Positioning to multiline elements May 10, 2024
@Bayheck Bayheck marked this pull request as ready for review May 10, 2024 09:37
Copy link
Collaborator

@Aleksey28 Aleksey28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, look at my comment please

test/client/fixtures/sandbox/node/classes-test.js Outdated Show resolved Hide resolved
@Bayheck Bayheck merged commit fe16afb into DevExpress:master May 29, 2024
9 checks passed
Copy link

Release v31.7.2 addresses this.

Aleksey28 pushed a commit to DevExpress/testcafe that referenced this pull request Jun 3, 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
Testcafe did not click properly on multiline elements.

## Approach
In testcafe-hammerhead replaced getBoundingClientRect with
getClientRects.

Fix Edge workflow tests
#8189

## References
#8179
#8148

Hammerhead PR:
DevExpress/testcafe-hammerhead#3004


## Pre-Merge TODO
- [x] 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.

None yet

3 participants