From a15875a46c6f1f231e00633a493407495aae3a0d Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Fri, 30 Jul 2021 06:42:39 +0200 Subject: [PATCH] docs(@angular/cli): update e2e long description --- packages/angular/cli/commands/e2e-long.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/angular/cli/commands/e2e-long.md b/packages/angular/cli/commands/e2e-long.md index 369b0c71e443..26363135a8ce 100644 --- a/packages/angular/cli/commands/e2e-long.md +++ b/packages/angular/cli/commands/e2e-long.md @@ -1,2 +1,4 @@ -Must be executed from within a workspace directory. -When a project name is not supplied, it will execute for all projects. +The command takes an optional project name, as specified in the `projects` section of the `angular.json` workspace configuration file. +When a project name is not supplied, executes the `e2e` builder for the default project. + +To use the `ng e2e` command, use `ng add` to add a package that implements end-to-end testing capabilities. Adding the package automatically updates your workspace configuration, adding an `e2e` [CLI builder](guide/cli-builder).