Skip to content

Commit

Permalink
chore(docs): configure the base path for protractor tests in examples
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
petebacondarwin authored and caitp committed Oct 20, 2014
1 parent d97b427 commit 762713e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ module.exports = new Package('angularjs', [
jqueryDeployment
];

generateProtractorTestsProcessor.basePath = 'build/docs/';

generateExamplesProcessor.deployments = [
debugDeployment,
defaultDeployment,
Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protractor-shared-conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports.config = {
allScriptsTimeout: 11000,

baseUrl: 'http://localhost:8000/build/docs/',
baseUrl: 'http://localhost:8000/',

framework: 'jasmine',

Expand Down

0 comments on commit 762713e

Please sign in to comment.