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:
parent
27ad7624d0
commit
6465b5056a
@ -10,6 +10,7 @@
|
|||||||
"serve:e2e": "lite-server -c=bs-config.e2e.json",
|
"serve:e2e": "lite-server -c=bs-config.e2e.json",
|
||||||
"prestart": "npm run build",
|
"prestart": "npm run build",
|
||||||
"start": "concurrently \"npm run build:watch\" \"npm run serve\"",
|
"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",
|
"e2e": "concurrently \"npm run serve:e2e\" \"npm run protractor\" --kill-others --success first",
|
||||||
"protractor": "protractor protractor.config.js --specs=e2e-spec.ts",
|
"protractor": "protractor protractor.config.js --specs=e2e-spec.ts",
|
||||||
"pretest": "npm run build",
|
"pretest": "npm run build",
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
},
|
},
|
||||||
"compileOnSave": true,
|
"compileOnSave": true,
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules/*",
|
|
||||||
"**/*-aot.ts",
|
"**/*-aot.ts",
|
||||||
"universal/*"
|
"node_modules/",
|
||||||
|
"universal/"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user