bluehost-wordpress-plugin icon indicating copy to clipboard operation
bluehost-wordpress-plugin copied to clipboard

Implement parallelization of Cypress tests pulled at the module level

Open wpscholar opened this issue 2 years ago • 1 comments

Currently, all of our tests are at the plugin level. We would like any tests related to our modules to be stored in the module repos and then run as part of the plugin-level tests. Any non-module or additional custom tests would be stored directly in the plugin.

https://www.youtube.com/watch?v=96Yn_IiQUJI

We can run groups of tests from the CLI by defining multiple --spec flags:

cypress run --base-url http://localhost:3000 --spec vendor/cypress/integration/**/*.js --spec tests/e2e/**/*.js

wpscholar avatar Dec 14 '22 21:12 wpscholar