angular-docs-cn/aio/content/examples/i18n
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
..
doc-files docs: initial Ivy i18n guide updates (#33762) 2019-11-25 14:12:18 -05:00
e2e/src docs(aio): Upgrade examples to Angular 6 (#23234) 2018-04-17 14:09:02 -07:00
src docs: remove heroes reference in i18n example (#31515) 2019-07-11 15:07:55 -04:00
example-config.json build(docs-infra): use `puppeteer` to get a browser for docs examples tests (#35381) 2020-02-18 12:42:47 -08:00
zipper.json docs(aio): updated i18n guide and example (#19975) 2017-11-02 14:22:09 -07:00