You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playground has no automated E2E test suite at the moment, which means critical features like switching PHP and WordPress versions are tested manually. Let's add E2E tests.
Done is:
GitHub actions automatically run E2E tests on new Pull Requests
The tests cover these most important features via the Query API, user interface, and the Blueprints API (URL hash):
Switching PHP versions
Switching WordPress versions
Networking support
PHP extensions support
Seamless mode
A series of follow-up issues is created to track E2E tests for:
PlaygroundClient actually connecting to the remote.html API
OPFS synchronization in the browser
OPFS synchronization with the local filesystem
Other Query API parameters
GitHub integration
WordPress PR previewer
Gutenberg PR previewer
Anything else that comes to mind
The text was updated successfully, but these errors were encountered:
This PR:
* Adds end-to-end (E2E) tests using Cypress to cover critical features
in the WordPress playground.
* Adds these e2e tests to GitHub CI workflows for every PR
Depends on #801Closes#765
The E2E tests cover:
- Switching PHP versions
- Switching WordPress versions
- Networking support
- PHP extensions support
- Seamless mode
- OPFS synchronization in the browser
- "None" storage mode
The tests interact with the playground through:
- The Query API
- The user interface
This provides automated testing for the core functionality identified in
#765.
Additional tests will be tracked in follow-up issues:
- Connecting PlaygroundClient to the remote.html API
- OPFS synchronization with local filesystem
- GitHub integration
- WordPress PR previewer
- Gutenberg PR previewer
<img width="2004" alt="CleanShot 2023-11-26 at 01 01 21@2x"
src="https://github.com/WordPress/wordpress-playground/assets/205419/e2353096-bbad-4fb9-a293-ea52fac14f05">
Playground has no automated E2E test suite at the moment, which means critical features like switching PHP and WordPress versions are tested manually. Let's add E2E tests.
Done is:
The text was updated successfully, but these errors were encountered: