angular-cn/aio/tests/deployment/e2e
George Kalpakas 2203217c40 build(docs-infra): disambiguate doc paths for global APIs (#42648)
In #41788, the `disambiguateDocsPathsProcessor` was introduced to fix
an issue with case-insensitively equal paths. This processor may alter
the output paths of some docs. Due to its nature, the
`disambiguateDocPathsProcessor` must be the last processor in the
pipeline that updates a doc's output path. However, the
`updateGlobalApiPathProcess` (which also alters the output paths of some
docs) was not configured to run before `disambiguateDocPathsProcessor`.
As a result, the changes made by `disambiguateDocPathsProcessor` were
overridden by `updateGlobalApiPathProcess`, resulting in the app's
failing to load such global API docs pages. An example of such an API
page is: https://angular.io/api/core/global/ngApplyChanges

This commit fixes it by ensuring that the `updateGlobalApiPathProcess`
is explicitly run before the `disambiguateDocPathsProcessor`, so that
the former does not override the changes made by the latter.

PR Close #42648
2021-06-24 12:28:21 -07:00
..
protractor.conf.js build(docs-infra): update @angular/* and @angular/cli to 11.0.0-rc.2 (#39600) 2020-11-18 15:49:15 -08:00
redirection.e2e-spec.ts test(docs-infra): correctly test URL redirects when the destination URL is also redirected (#42018) 2021-05-20 16:07:59 +00:00
site.po.ts build(docs-infra): upgrade tslint to 5.15.0 and codelyzer to 5.0.0 (#29926) 2019-04-25 12:32:49 -07:00
smoke-tests.e2e-spec.ts build(docs-infra): disambiguate doc paths for global APIs (#42648) 2021-06-24 12:28:21 -07:00
tsconfig.json build(docs-infra): make type-checking stricter by enabling `noImplicitAny` (#29926) 2019-04-25 12:32:49 -07:00