test(docs-infra): add tests for universal docs example (#36483)

Previously, there were no tests for the `universal` docs example. This
meant that the project was not tested at all (not even ensuring that it
can be built successfully).

This commit adds e2e tests for the `universal` example (ported from
`toh-pt6` and cleaned up) and also verifies that the project can be
built successfully (including the server).

PR Close #36483
This commit is contained in:
George Kalpakas
2020-04-16 09:43:41 -07:00
committed by atscott
parent 306ff3cd54
commit 02bfa9e0e0
2 changed files with 305 additions and 1 deletions
File diff suppressed because it is too large Load Diff
@@ -1,3 +1,7 @@
{
"projectType": "universal"
"projectType": "universal",
"e2e": [
{"cmd": "yarn", "args": ["e2e", "--prod", "--protractor-config=e2e/protractor-puppeteer.conf.js", "--no-webdriver-update", "--port={PORT}"]},
{"cmd": "yarn", "args": ["run", "build:ssr"]}
]
}