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

Reduce Toasts image test flakiness #2419

Merged
merged 2 commits into from
Feb 4, 2025
Merged

Conversation

r100-stack
Copy link
Member

@r100-stack r100-stack commented Jan 31, 2025

Changes

Ever since #2391, a couple of PRs had react-workshop visual test failures for Toasts. I believe this has something to do with the toast entry animation implementation change from #2391 where we used the animate() function instead of react-transition-group.

This PR tries to increase the delay in the test to wait for the entry animation to finish to reduce the flakiness. The new images are re-approved.

Testing

Ran the CI in a few PRs and noticed no Toasts image flakiness so far.

Docs

N/A

@r100-stack r100-stack self-assigned this Jan 31, 2025
@r100-stack r100-stack marked this pull request as ready for review February 4, 2025 21:17
@r100-stack r100-stack requested a review from a team as a code owner February 4, 2025 21:17
@r100-stack r100-stack requested review from mayank99 and smmr-dn and removed request for a team February 4, 2025 21:17
@r100-stack r100-stack changed the title Reduce Toasts image flakiness Reduce Toasts image test flakiness Feb 4, 2025
@r100-stack r100-stack removed the request for review from smmr-dn February 4, 2025 21:17
@r100-stack r100-stack merged commit 0effd40 into main Feb 4, 2025
18 checks passed
@r100-stack r100-stack deleted the r/toasts-test-flakiness branch February 4, 2025 21:45
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.

2 participants