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
..
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-09-21 12:25:28 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-01-21 13:12:18 -05:00
2020-08-27 09:05:59 -07:00
2020-09-28 16:26:32 -04:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-04-06 15:31:07 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-08-03 12:54:13 -07:00
2020-07-31 11:00:05 -07:00
2020-07-31 11:00:05 -07:00
2020-07-31 11:00:06 -07:00
2020-09-28 16:24:59 -04:00
2020-09-08 10:06:03 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2019-11-25 11:37:39 -05:00
2020-07-31 11:00:06 -07:00
2020-09-16 15:13:02 -07:00
2020-09-16 15:13:02 -07:00
2020-07-31 11:00:06 -07:00
2020-09-24 11:33:20 -04:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-05-05 11:51:19 -07:00
2020-09-28 16:20:11 -04:00
2020-08-03 12:54:13 -07:00
2020-07-31 11:00:06 -07:00
2020-08-31 11:41:13 -07:00
2020-07-31 11:00:06 -07:00
2020-08-03 12:54:13 -07:00
2020-07-31 11:00:06 -07:00
2020-08-31 10:25:16 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:05 -07:00
2020-09-17 09:31:17 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-08-12 11:26:10 -07:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-09-28 16:24:59 -04:00
2020-07-31 11:00:06 -07:00
2020-07-31 11:00:06 -07:00
2020-08-03 12:54:13 -07:00
2020-08-03 12:54:13 -07:00
2020-07-31 11:00:06 -07:00
2020-09-28 16:24:59 -04:00
2020-09-28 16:24:59 -04:00