diff --git a/packages/schematics/angular/application/index.ts b/packages/schematics/angular/application/index.ts index a5b061c52a69..4020f216c676 100644 --- a/packages/schematics/angular/application/index.ts +++ b/packages/schematics/angular/application/index.ts @@ -279,7 +279,7 @@ export default function (options: ApplicationOptions): Rule { name: `${options.name}-e2e`, relatedAppName: options.name, rootSelector: appRootSelector, - projectRoot: newProjectRoot ? `${newProjectRoot}/e2e` : 'e2e', + projectRoot: newProjectRoot ? `${newProjectRoot}/${options.name}-e2e` : 'e2e', }; return chain([