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
This commit is contained in:
George Kalpakas 2021-04-24 13:26:02 +03:00 committed by Jessica Janiuk
parent 27ad7624d0
commit 6465b5056a
2 changed files with 3 additions and 2 deletions

View File

@ -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",

View File

@ -14,8 +14,8 @@
},
"compileOnSave": true,
"exclude": [
"node_modules/*",
"**/*-aot.ts",
"universal/*"
"node_modules/",
"universal/"
]
}