angular-docs-cn/aio/content
George Kalpakas 2df39ee338 refactor(docs-infra): minor refactoring of the `component-interaction` e2e tests (#39001)
This commit refactors the e2e tests of the `component-interaction` docs
example to improve readability and make them easier to maintain.

Changes include:
- Switch from `element.all().get(0)` to `element()` when there is only
  one such element on the page.
- Switch from `Promise#then()` to `async/await`.
- Move `ElementFinder`s at the top of the test (instead of having them
  interleaved with expectations).
- Load the page before every test (i.e. in a `beforeEach()` instead of
  `beforeAll()`) to prevent state from each test leaking into the
  subsequent tests.
- Order imports alphabetically.

PR Close #39001
2020-09-28 16:26:32 -04:00
..
cli docs: remove all references to Angular Console (#37608) 2020-07-15 12:30:59 -07:00
cli-src
examples refactor(docs-infra): minor refactoring of the `component-interaction` e2e tests (#39001) 2020-09-28 16:26:32 -04:00
guide test(docs-infra): add unit tests for rx-library examples (#38905) 2020-09-28 16:20:11 -04:00
images docs: add Andrew Grekov to GDE resources (#36690) 2020-09-09 09:44:47 -07:00
marketing docs: remove usage of whitelist in cli analytics docs (#38963) 2020-09-28 16:23:06 -04:00
start docs: Update titles to getting started topics (#38887) 2020-09-21 16:30:35 -07:00
tutorial docs: delete one superfluous sentence (#38339) 2020-08-12 08:23:18 -07:00
file-not-found.md
license.md build: bump year (#34651) 2020-01-13 07:21:43 -08:00
navigation.json docs: Update titles to getting started topics (#38887) 2020-09-21 16:30:35 -07:00