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

PaletteEdit: Fix another flaky test #61818

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

tyxla
Copy link
Member

@tyxla tyxla commented May 21, 2024

What?

Fixes another flaky PaletteEdit test. Follow-up to #61791.

Why?

Because it's flaky. Example:
https://github.com/WordPress/gutenberg/actions/runs/9171026029/job/25214476473?pr=61813#step:6:200

How?

We're now explicitly waiting for the "Reset colors" button to appear.

Testing Instructions

All tests should pass. Make sure to do multiple runs of this one to ensure it's no longer flaky:

npm run test:unit:watch packages/components/src/palette-edit/test/index.tsx

Testing Instructions for Keyboard

None

Screenshots or screencast

None

@tyxla tyxla added [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Package] Components /packages/components labels May 21, 2024
@tyxla tyxla requested a review from Mamaduka May 21, 2024 10:29
@tyxla tyxla self-assigned this May 21, 2024
@tyxla tyxla requested a review from ajitbohra as a code owner May 21, 2024 10:29
Copy link

github-actions bot commented May 21, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: cbravobernal <cbravobernal@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link
Contributor

@cbravobernal cbravobernal left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

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

Thank you, @tyxla!

@tyxla
Copy link
Member Author

tyxla commented May 21, 2024

Thank you both 🙌

@tyxla tyxla enabled auto-merge (squash) May 21, 2024 10:45
Copy link

Flaky tests detected in 4678b86.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9173168284
📝 Reported issues:

@tyxla tyxla merged commit 560d3f6 into trunk May 21, 2024
68 checks passed
@tyxla tyxla deleted the fix/palette-edit-another-flaky-test branch May 21, 2024 11:25
@github-actions github-actions bot added this to the Gutenberg 18.5 milestone May 21, 2024
carstingaxion pushed a commit to carstingaxion/gutenberg that referenced this pull request Jun 4, 2024
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: cbravobernal <cbravobernal@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
patil-vipul pushed a commit to patil-vipul/gutenberg that referenced this pull request Jun 17, 2024
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: cbravobernal <cbravobernal@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
3 participants