angular-cn/aio/tools/examples/shared/boilerplate
George Kalpakas bdfe71ae93 build(docs-infra): use `puppeteer` to get a browser for docs examples tests (#35381)
In #35049, integration and AIO tests were changed to use the browser
provided by `puppeteer` in tests. This commit switches the docs examples
tests to use the same setup.

IMPLEMENTATION NOTE:
The examples are used to create ZIP archives that docs users can
download to experiment with. Since we want the downloaded projects to
resemble an `@angular/cli` generated project, we do not want to affect
the project's Protractor configuration in order to use `puppeteer`.

To achieve this, a second Protractor configuration is created (which is
ignored when creating the ZIP archives) that extends the original one
and passes the approperiate arguments to use the browser provided by
`puppeteer`. This new configuration (`protractor-puppeteer.conf.js`) is
used when running the docs examples tests (on CI or locally during
development).

PR Close #35381
2020-02-18 12:42:47 -08:00
..
cli build(docs-infra): use `puppeteer` to get a browser for docs examples tests (#35381) 2020-02-18 12:42:47 -08:00
cli-ajs feat: typescript 3.6 support (#32946) 2019-10-18 13:15:16 -04:00
common/src docs: increase color contrast on elements in tutorial 2019-05-31 15:23:32 -07:00
getting-started/src docs: add new getting started guide (#27684) 2019-03-29 10:47:37 -07:00
i18n build(zone.js): update zone.js to 0.10.2 (#31975) 2019-08-16 09:56:41 -07:00
ivy docs: fix testing example (#31120) 2019-06-25 10:28:50 -07:00
schematics docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
service-worker build(zone.js): update zone.js to 0.10.2 (#31975) 2019-08-16 09:56:41 -07:00
systemjs refactor: remove tslint no-use-before-declare rule (#30288) 2019-05-07 10:25:36 -07:00
testing build(docs-infra): fix StackBlitz projects and ZIPs for `testing` guide examples (#31937) 2019-08-05 09:54:52 -07:00
universal build(zone.js): update zone.js to 0.10.2 (#31975) 2019-08-16 09:56:41 -07:00
.gitignore docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
UPDATING_CLI.md docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00