I am new to WordPress e2e testing. I want to run my e2e test case with a different target site. but when i am running my script I am getting error. for a script running.
PUPPETEER_HEADLESS=true SKIP_SEED=true WP_BASE_URL=http://localhost:91 wp-scripts test-e2e --wordpress-username=admin --wordpress-password=password
error getting
Error: Fetch api call failed for http://localhost:91/wp-admin/admin-ajax.php?action=rest-nonce: 400
source https://stackoverflow.com/questions/72621565/e2e-puppeteer-wordpress-traget-different-environment-with-user-name-and-password
No comments:
Post a Comment