From 8fde150ba942a5e95adf8868cfb21bb3d932c8b0 Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Thu, 4 Feb 2021 15:52:18 -0400 Subject: [PATCH] update built-in readme with shorthand script --- tests/e2e/env/builtin.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/e2e/env/builtin.md b/tests/e2e/env/builtin.md index 3213e5387be..f6392ec8a41 100644 --- a/tests/e2e/env/builtin.md +++ b/tests/e2e/env/builtin.md @@ -79,8 +79,8 @@ You can override these in `/tests/e2e/config/default.json`. The built in container defaults to mapping the root folder of the repository to a folder in the `plugins` folder. For example `woocommerce` is mapped to `/var/www/html/wp-content/plugins/woocommerce`. Use the `WC_E2E_FOLDER_MAPPING` environment variable to override this mapping. -- Storefront Theme - ```WC_E2E_FOLDER_MAPPING=/var/www/html/wp-content/themes/storefront npm explore @woocommerce/e2e-environment -- npm run docker:up``` -- Site Project - ```WC_E2E_FOLDER_MAPPING=/var/www/html/wp-content/plugins npm explore @woocommerce/e2e-environment -- npm run docker:up``` +- Storefront Theme - ```WC_E2E_FOLDER_MAPPING=/var/www/html/wp-content/themes/storefront npx wc-e2e docker:up``` +- Site Project - ```WC_E2E_FOLDER_MAPPING=/var/www/html/wp-content npx wc-e2e docker:up``` ### Travis CI Supported Versions @@ -106,11 +106,11 @@ version: ~> 1.0 script: - npm install jest --global - - npm explore @woocommerce/e2e-environment -- npm run docker:up - - npm explore @woocommerce/e2e-environment -- npm run test:e2e + - npx wc-e2e docker:up + - npx wc-e2e test:e2e .... after_script: - - npm explore @woocommerce/e2e-environment -- npm run docker:down + - npx wc-e2e docker:down ```