e2e-utils-playwright : When giving external URL instead of docker site created by WP SCRIPT, given REST API endpoints give 400 error #52598
Labels
[Package] E2E Test Utils
/packages/e2e-test-utils
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Description
Recently we have published our
e2e-utils-playwright
package to npm to enable the third-parties to adapt this in their organization, for that they should be able to test the E2E tests with their URL.But when adding URL and running the tests,
site-url/wp-admin/admin-ajax.php?action=rest-nonce
giving 404 error, a screenshot attached@kevin940726 @justintadlock would you mind checking this?
Step-by-step reproduction instructions
For testing purpose, I have added .env file in Gutenberg root
require('dotenv').config();
in playwright.config.tsScreenshots, screen recording, code snippet
Environment info
For testing using a test site created on https://tastewp.com/, may expire soon
Though I have tried with several localhost sites and live site and getting the same issue
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: