switch urls to wp-env installed location.

This commit is contained in:
Darren Ethier 2020-05-24 20:02:06 -04:00
parent 6e9dabf366
commit e8232075e9
No known key found for this signature in database
GPG Key ID: 2D2A99358464C9D6
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{
"url": "http://localhost:8084/",
"url": "http://localhost:8888/",
"users": {
"admin": {
"username": "admin",

View File

@ -1,5 +1,5 @@
global.process.env = {
...global.process.env,
// Gutenberg test util functions expect the test url to be at :8889, we change it to 8084.
WP_BASE_URL: 'http://localhost:8084',
WP_BASE_URL: "http://localhost:8888",
};

View File

@ -43,7 +43,7 @@
"docker:clear-all": "docker rmi --force $(docker images -q)",
"docker:ssh": "docker exec -it woocommerce_wordpress-www /bin/bash",
"install-wp-tests": "./bin/install-wp-tests.sh",
"test:e2e": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js",
"test:e2e-dev": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js --dev"
"test:e2e": "./bin/e2e-test-integration.js",
"test:e2e-dev": "./bin/e2e-test-integration.js --dev"
}
}