E2E testing that requires WordPress instances

Description

The goal is to create a testing system that can:

  • Spin up a WordPress instance inside of a Docker container

  • Create custom WP instances with but not limited to:

    • With fixed or latest version of WordPress
    • With fixed or latest version of any WP plugin
    • With any configuration (database)
    • With media uploaded
  • The configuration to spin up the instance is in the same codebase as the tests

    • Be able to test that with Cypress
    • Be able to test that with Jest
    • Be able to run tests in parallel

Examples

This topic is still a stub, more information will follow as we are figuring out the best way to approach testing