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

[SuperTextField] Re-generate failing caret test goldens (Resolves #2085) #2087

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

angelosilvestre
Copy link
Collaborator

[SuperTextField] Re-generate failing caret test goldens. Resolves #2085

There are some failing tests related to caret rendering. These failures look like legitimate failures. However, comparing the master image with the test image, we can see that now the caret is better aligned with the toolbar (I draw a red line to demonstrate that).

Since these tests started to fail without any changes from our side, I assume that some caret related method in RenderParagraph is now returning a different value.

Master image:

SCR-20240611-rumb

Test image:
image

This PR updates the failing goldens.

Copy link
Contributor

Choose a reason for hiding this comment

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

On this one it seems like maybe we lost the caret off to the left. Can you check, for example, where the caret appears on the left side of an image when the image takes full screen width?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, the caret still appears:

image

We also have a golden test to ensure the caret appears.

@KevinBrendel
Copy link
Contributor

These look like the expected results of the changes I made in #1945 and #1982. Though for some reason, these particular goldens did not fail when making those pull requests.

Copy link
Contributor

@matthew-carroll matthew-carroll left a comment

Choose a reason for hiding this comment

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

LGTM

@matthew-carroll matthew-carroll merged commit bae3cbb into main Jun 12, 2024
11 checks passed
@matthew-carroll matthew-carroll deleted the 2085_re-generate-failing-goldens branch June 12, 2024 22:32
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.

Fix golden failures
3 participants