From 6465b5056a6a538780222c970456db83216f5a0a Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Sat, 24 Apr 2021 13:26:02 +0300 Subject: [PATCH] build(docs-infra): fix e2e testing SystemJS-based docs examples (#41796) This commits makes the SystemJS-based docs examples more self-contained by ensuring the necessary WebDrivers are fetched before running the e2e tests. This is a follow-up to #41689. (See there for more discussion.) PR Close #41796 --- aio/tools/examples/shared/boilerplate/systemjs/package.json | 1 + aio/tools/examples/shared/boilerplate/systemjs/tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/aio/tools/examples/shared/boilerplate/systemjs/package.json b/aio/tools/examples/shared/boilerplate/systemjs/package.json index bf2a0c151d..7ee551df19 100644 --- a/aio/tools/examples/shared/boilerplate/systemjs/package.json +++ b/aio/tools/examples/shared/boilerplate/systemjs/package.json @@ -10,6 +10,7 @@ "serve:e2e": "lite-server -c=bs-config.e2e.json", "prestart": "npm run build", "start": "concurrently \"npm run build:watch\" \"npm run serve\"", + "pree2e": "webdriver-manager update", "e2e": "concurrently \"npm run serve:e2e\" \"npm run protractor\" --kill-others --success first", "protractor": "protractor protractor.config.js --specs=e2e-spec.ts", "pretest": "npm run build", diff --git a/aio/tools/examples/shared/boilerplate/systemjs/tsconfig.json b/aio/tools/examples/shared/boilerplate/systemjs/tsconfig.json index d5ca9c47b3..ea3446bdab 100644 --- a/aio/tools/examples/shared/boilerplate/systemjs/tsconfig.json +++ b/aio/tools/examples/shared/boilerplate/systemjs/tsconfig.json @@ -14,8 +14,8 @@ }, "compileOnSave": true, "exclude": [ - "node_modules/*", "**/*-aot.ts", - "universal/*" + "node_modules/", + "universal/" ] }