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

Add tests for ACF Blocks #89

Closed
5 tasks done
jasonbahl opened this issue Sep 18, 2023 · 1 comment
Closed
5 tasks done

Add tests for ACF Blocks #89

jasonbahl opened this issue Sep 18, 2023 · 1 comment
Assignees
Labels
scope: tests Developing unit tests, integration tests, and ensuring coverage

Comments

@jasonbahl
Copy link
Contributor

jasonbahl commented Sep 18, 2023

What problem does this address?

PR #88 includes support for ACF Blocks while also using WPGraphQL Content Blocks, but it does not include tests.

What is your proposed solution?

We should add tests that:

  • Install and Activate WPGraphQL Content Blocks
    • Allows for specific version to be installed, defaults to latest
  • Assigns field group and field to Block location
  • Asserts field(s) show in Schema as expected on Block
  • Asserts data saved to a block is returned as expected

What alternatives have you considered?

Leave the feature set untested. Not ideal.

Additional Context

No response

@jasonbahl jasonbahl added the scope: tests Developing unit tests, integration tests, and ensuring coverage label Sep 18, 2023
@jasonbahl jasonbahl self-assigned this Sep 18, 2023
@jasonbahl
Copy link
Contributor Author

closed by #88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: tests Developing unit tests, integration tests, and ensuring coverage
Projects
None yet
Development

No branches or pull requests

1 participant