WordPress/wordpress-playground

E2E tests for WordPress PR previewer

adamziel opened this issue · 1 comments

Let's create a few E2E tests for the WordPress PR previewer at https://playground.wordpress.net/wordpress.html

Technically, it's difficult to hardcode a PR number with a well-known artifact since GitHub removes them after a while. However, Cypress can mock network requests which means we can reliably ship a ZIP file with the test suite and make sure the tests always use that.

Related:

WordPress PR previewer was reduced to a Blueprint that loads WordPress from a specific URL using the preferredVersions.wp so fetching the WordPress file is the only moving part not already covered by Playground core. Let's close this one.