Open bilfeldt opened 10 months ago
We can implement unit tests for our classes and integration tests (#35) for the rest.
But is there a way to easily do end-to-end browser tests?
Jest
@wordpress/env
@wordpress/scripts
This is how WooCommerce does their end-to-end tests: https://github.com/woocommerce/woocommerce/blob/trunk/.github/workflows/hpos-build-and-e2e-tests-daily.yml
We can implement unit tests for our classes and integration tests (#35) for the rest.
But is there a way to easily do end-to-end browser tests?
Jest
,@wordpress/env
,@wordpress/scripts
and Github Actions: https://www.wpgraphql.com/2022/02/17/adding-end-2-end-tests-to-wordpress-plugins-using-wp-env-and-wp-scripts