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

tests: GraphiQL e2e tests failing on WordPress 6.4 #2985

Closed
2 of 3 tasks
jasonbahl opened this issue Nov 9, 2023 · 0 comments · Fixed by #3079
Closed
2 of 3 tasks

tests: GraphiQL e2e tests failing on WordPress 6.4 #2985

jasonbahl opened this issue Nov 9, 2023 · 0 comments · Fixed by #3079
Labels

Comments

@jasonbahl
Copy link
Collaborator

Description

After WordPress 6.4 was released, the GraphiQL IDE end-to-end tests fail in Github.

I was able to get them to pass locally:

CleanShot 2023-11-08 at 17 30 50

But they fail in Github (see: https://github.com/wp-graphql/wp-graphql/actions/runs/6805655842)

Steps to reproduce

  1. Run the graphiql IDE e2e tests in Github
  2. see them fail

Additional context

I believe it's likely related to some markup that's changed in the admin in that's causing the "trashAllPosts()" to fail, but not sure yet.

The trashAllPosts() in setup-test-framework.js comes from @wordpress/e2e-test-utils. My theory was that updating that lib would compensate for the markup changes in the admin.

When updating that lib, I get all sorts of peer dependency issues and I didn't have the time/patience to start tracking down what else needed to be updated.

WPGraphQL Version

1.18.0

WordPress Version

6.4

PHP Version

8.2

Additional environment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have disabled ALL plugins except for WPGraphQL.

  • Yes
  • My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants