| @@ -110,8 +110,9 @@ | ||
| 110 | 110 | - Run the tests: |
| 111 | 111 | - To run all E2E tests: `npm run test:e2e`. |
| 112 | 112 | - To run a specific test: `npm run test:e2e activation-flow.spec.js`. |
| 113 | 113 | - For debugging purposes, you might want to run tests visually: `npm run test:e2e:debug`. |
| 114 | + - By default, the tests run against the wp-env tests site, on the port set by `WP_ENV_TESTS_PORT` or `.wp-env.override.json` (8889 otherwise). To target another site, set `WP_BASE_URL`, for example `WP_BASE_URL=http://localhost:8080 npm run test:e2e`. | |
| 114 | 115 | - Finish: |
| 115 | 116 | - When you're finished testing, the WordPress environment can be stopped using `npm run dev:stop`. |
| 116 | 117 | |
| 117 | 118 | ### Automated E2E testing |