From 21c510ee0d5ab5af511841ff92fa4647cc70b0df Mon Sep 17 00:00:00 2001 From: Bill Brower <104217862+BillBrower-Shopify@users.noreply.github.com> Date: Mon, 20 Jun 2022 22:08:18 -0400 Subject: [PATCH] chore(cli): add example for running tests against a project (#14926) --- docs/src/test-cli-js.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/src/test-cli-js.md b/docs/src/test-cli-js.md index 0c3fdc5ee8..b2872c7ab3 100644 --- a/docs/src/test-cli-js.md +++ b/docs/src/test-cli-js.md @@ -44,14 +44,9 @@ Here are the most common options available in the command line. npx playwright test --headed ``` -- Run tests in a particular browser (config-less mode) +- Run all the tests against a specific project ```bash - npx playwright test --browser=webkit - ``` - -- Run tests in all browsers (config-less mode) - ```bash - npx playwright test --browser=all + npx playwright test --project=chromium ``` - Disable [parallelization](./test-parallel.md)