humanmade / humanmade/authorship

Identify functional testing approach for author selection component

Open
#25 2 comments 0 reactions 0 assignees View on GitHub
Help Wanted Research
Dominant language
PHP
Stars
68
Forks
11
PR merge metrics
No merged PRs in 30d

Description

The underlying component(s) that we use for the author selection control on the post editing screen will hopefully be tested, but it would be great to have functional tests in place to ensure it actually works in the context of where we use it (the block editor in #7 and the classic editor in #13). Suggestions for testing approach and framework welcome.

## Options

* [Jest React snapshot testing](https://jestjs.io/docs/en/tutorial-react)
* [Jest with Puppeteer](https://blog.logrocket.com/end-to-end-testing-react-apps-with-puppeteer-and-jest-ce2f414b4fd7/)
* [QA Wolf](https://github.com/qawolf/qawolf)
* [Something with the Gutenberg E2E test utils](https://developer.wordpress.org/block-editor/packages/packages-e2e-test-utils/) and [example usage here](https://github.com/liip/e2e-tests-example-wp-plugin)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.