e2e puppeteer wordpress traget different environment with user name and password - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Wednesday, June 15, 2022

e2e puppeteer wordpress traget different environment with user name and password

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