Skip to content

Tests failing for field groups assigned to Block Types #230

@jasonbahl

Description

@jasonbahl

Description

When running tests for fields on a field group assigned to a Block Type, an error is returned and the test fails.

CleanShot 2024-07-24 at 13 03 14

When trying to manually reproduce, the behavior works as expected and fields can be queried on blocks.

Steps to reproduce

  1. set the .env.testing file to run a specific SUITE that tests a field on a Block Type (i.e. wpunit:AcfeAdvancedLinkFieldTest:testFieldOnAcfBlock)
  2. run the test in DEBUG mode
  3. see the error and the failed test(s)

CleanShot 2024-07-24 at 13 03 14

PHP or JSON export of the ACF Field Group(s)

No response

Additional context

No response

WPGraphQL Version

1.27

WPGraphQL For ACF Version

2.4.0

ACF (Advanced Custom Fields) Version. Free or Pro?

6.3.1.2 PRO

WordPress Version

6.6.1

PHP Version

8.1

Additional enviornment 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, WPGraphQL For ACF, ACF, etc.

  • 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

Labels

type: bugIssue that causes incorrect or unexpected behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions