23c36a24ed
This commit disables the Selenium Promise Manager when running e2e tests for docs examples in order to more closely align them with new apps created with CLI v11. This change requires that any async operations in tests are handled explicitly (e.g. using `async/await` or `Promise#then()`). PR Close #39818 |
||
---|---|---|
.. | ||
app | ||
README.md | ||
e2e-spec.ts | ||
example-config.json | ||
index.html | ||
karma-test-shim.js | ||
karma.conf.js | ||
systemjs.config.1.js | ||
tsconfig.json |
README.md
This is the Angular Phonecat application adjusted to fit our boilerplate project structure.
The following changes from vanilla Phonecat are applied:
- E2E tests have been moved to the parent directory, where
run-e2e-tests
can discover and run them along with all the other examples. - Most of the phone JSON and image data removed in the interest of keeping repo weight down. Keeping enough to retain testability of the app.
Running the app
Start like any example
npm run start
Running E2E tests
Like for any example (at the project root):
gulp run-e2e-tests --filter=phonecat-3