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

Blocks E2E: Wait for Site Editor canvas loader #47541

Merged
merged 2 commits into from
May 16, 2024

Conversation

WunderBart
Copy link
Contributor

@WunderBart WunderBart commented May 16, 2024

What?

The Site Editor's canvas loader not being properly awaited has been a major source of flakiness in our tests. There's an upstream fix for it in WordPress/gutenberg#61629, but it's going to take a while until we can use it, so let's apply the same fix in our enterEditMode() utility for now.

How to test

All the tests should pass, and the CI output should contain fewer (preferably no more 🙏) flaky tests.

@WunderBart WunderBart self-assigned this May 16, 2024
@woocommercebot woocommercebot requested review from a team and albarin and removed request for a team May 16, 2024 11:17
@WunderBart WunderBart requested a review from kmanijak May 16, 2024 11:18
Copy link
Contributor

github-actions bot commented May 16, 2024

Hi @albarin, @gigitux, @kmanijak,

Apart from reviewing the code changes, please make sure to review the testing instructions as well.

You can follow this guide to find out what good testing instructions should look like:
https://github.com/woocommerce/woocommerce/wiki/Writing-high-quality-testing-instructions

@github-actions github-actions bot added the plugin: woocommerce Issues related to the WooCommerce Core plugin. label May 16, 2024
@WunderBart WunderBart requested a review from gigitux May 16, 2024 12:03
Copy link
Contributor

@gigitux gigitux left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@WunderBart WunderBart merged commit a7bbdb9 into trunk May 16, 2024
36 checks passed
@WunderBart WunderBart deleted the fix-e2e-site-editor-canvas-loader branch May 16, 2024 12:49
@github-actions github-actions bot added this to the 9.0.0 milestone May 16, 2024
@github-actions github-actions bot added the needs: analysis Indicates if the PR requires a PR testing scrub session. label May 16, 2024
@alvarothomas alvarothomas added status: analysis complete Indicates if a PR has been analysed by Solaris and removed needs: analysis Indicates if the PR requires a PR testing scrub session. labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: woocommerce Issues related to the WooCommerce Core plugin. status: analysis complete Indicates if a PR has been analysed by Solaris
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants