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

Try fixing block context e2e test failure #52513

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Conversation

Mamaduka
Copy link
Member

What?

Closes #48827.
Closes #48826.

PR tries to fix flaky "Block content" e2e tests.

Why?

I noticed that this test was failing on the trunk due to a console warning.

Recent failures:

How?

Use the editor_script_handles argument instead of enqueuing block script separately.

Testing Instructions

CI should be green.

npm run test:e2e -- packages/e2e-tests/specs/editor/plugins/block-context.test.js

@Mamaduka Mamaduka self-assigned this Jul 11, 2023
@Mamaduka Mamaduka added [Type] Bug An existing feature does not function as intended [Package] E2E Tests /packages/e2e-tests labels Jul 11, 2023
@Mamaduka Mamaduka requested a review from mcsf July 11, 2023 15:01
@Mamaduka
Copy link
Member Author

Okay, I'm going to merge this as I saw more failures of this test.

PR doesn't change the tests, it just fixed the script enqueue method.

@Mamaduka Mamaduka merged commit 34c805d into trunk Jul 11, 2023
@Mamaduka Mamaduka deleted the fix/block-context-e2e-tests branch July 11, 2023 19:08
@github-actions github-actions bot added this to the Gutenberg 16.3 milestone Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] E2E Tests /packages/e2e-tests [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Flaky Test] Block context is reflected in the preview [Flaky Test] Block context propagates to inner blocks
1 participant