Skip to content

tests: GraphiQL e2e tests failing on WordPress 6.4 #2985

@jasonbahl

Description

@jasonbahl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    graphiql ideIssues or pull requests related to the GraphiQL IDEscope: testsDeveloping unit tests, integration tests, and ensuring coveragetype: bugIssue that causes incorrect or unexpected behavior

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions