Skip to content

Commit a68b3fb

Browse files
chore(docs): configure the base path for protractor tests in examples
Updates to dgeni-packages 0.10.5 which supports this configurability. Change the dgeni config and protractor config so that we can have protractor tests that are hosted outside the build/docs folder. Provides support for angular#9557 (comment)
1 parent e5c53b3 commit a68b3fb

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

docs/config/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ module.exports = new Package('angularjs', [
157157
jqueryDeployment
158158
];
159159

160+
generateProtractorTestsProcessor.basePath = 'build/docs/';
161+
160162
generateExamplesProcessor.deployments = [
161163
debugDeployment,
162164
defaultDeployment,

npm-shrinkwrap.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protractor-shared-conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports.config = {
44
allScriptsTimeout: 11000,
55

6-
baseUrl: 'http://localhost:8000/build/docs/',
6+
baseUrl: 'http://localhost:8000/',
77

88
framework: 'jasmine',
99

0 commit comments

Comments
 (0)