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

Issue with the insertBlock command on the latest trunk version of WordPress #91

Closed
1 task done
dkotter opened this issue Mar 23, 2023 · 0 comments · Fixed by #105
Closed
1 task done

Issue with the insertBlock command on the latest trunk version of WordPress #91

dkotter opened this issue Mar 23, 2023 · 0 comments · Fixed by #105
Assignees
Labels
type:bug Something isn't working.
Milestone

Comments

@dkotter
Copy link
Collaborator

dkotter commented Mar 23, 2023

Describe the bug

In a recent test (see here) I utilized the insertBlock command to insert an Image block. This worked fine on WP 5.7 and WP latest but failed on WP trunk.

The error message we got was Expected to find element: .wp-block[data-type="core-image"], but never found it. But looking at the image that was provided, it seems the block editor had an error:

Image processing Tests -- Can generate images in the media modal (failed)

I was not able to reproduce the same issue locally but I'm assuming this is probably related to the changes made in #89.

Note I changed the above linked test to get around the issue but if this is a larger issue around WP 6.2, I'm assuming more tests will start to fail once that is released.

Steps to Reproduce

I couldn't reproduce while running locally but see the link I gave above to view a test run on GitHub that failed

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants