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

createPost fails on WordPress prior to 5.8 #33

Closed
1 task done
cadic opened this issue Mar 28, 2022 · 0 comments · Fixed by #34
Closed
1 task done

createPost fails on WordPress prior to 5.8 #33

cadic opened this issue Mar 28, 2022 · 0 comments · Fixed by #34
Assignees
Labels
type:bug Something isn't working. type:good-first-issue Good for newcomers.

Comments

@cadic
Copy link
Contributor

cadic commented Mar 28, 2022

Describe the bug

createPost fails with assertion error:

Timed out retrying after 4000ms: cy.type() failed because this element is readonly:

<textarea role="button" aria-label="Add block" class="block-editor-default-block-appender__content" readonly="" rows="1" style="overflow: hidden; overflow-wrap: break-word; height: 36px;">Start w...</textarea>

Looks like we just need to perform click before typing.

Steps to Reproduce

Test against WordPress core 5.7 or older.

Screenshots, screen recording, code snippet

image

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@cadic cadic added type:bug Something isn't working. type:good-first-issue Good for newcomers. labels Mar 28, 2022
@cadic cadic changed the title createPost fails on WordPress prior to 5.8 createPost fails on WordPress prior to 5.8 Mar 28, 2022
@vikrampm1 vikrampm1 moved this to Incoming in Open Source Practice Mar 28, 2022
@iamdharmesh iamdharmesh self-assigned this Mar 29, 2022
@iamdharmesh iamdharmesh moved this from Incoming to Backlog in Open Source Practice Mar 29, 2022
@iamdharmesh iamdharmesh moved this from Backlog to To Do in Open Source Practice Mar 29, 2022
@iamdharmesh iamdharmesh moved this from To Do to In Progress in Open Source Practice Mar 29, 2022
@cadic cadic closed this as completed in #34 Mar 30, 2022
Repository owner moved this from In Progress to Merged in Open Source Practice Mar 30, 2022
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. type:good-first-issue Good for newcomers.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants