playwright/packages
Dmitry Gozman 4bb563b015
fix(expect): proper return types (#13334)
A few changes:
- `Matchers<R, T>` now carries both return and argument type.
- Based on the argument type, we apply playwright-specific Page/Locator matchers.
- Return type is usually void, unless wrapped with `expect.resolves`,
  `expect.rejects` or `expect.poll()`.
- To preserve compatibility with any extended types in the wild,
  argument type is optional.
2022-04-05 16:11:11 -07:00
..
html-reporter test(html-reporter): add image diff tests (#13262) 2022-04-01 18:11:15 -07:00
playwright chore: cut v1.20 branch (#12593) 2022-03-08 14:01:20 -08:00
playwright-chromium chore: fix markdown links in NPM README's (#12833) 2022-03-17 15:28:57 +01:00
playwright-core fix(electron): better support for custom schemas (#13329) 2022-04-05 16:10:12 -07:00
playwright-ct-react chore: reset page/context for reuse in component tests (#13264) 2022-04-04 12:39:43 -07:00
playwright-ct-svelte chore: reset page/context for reuse in component tests (#13264) 2022-04-04 12:39:43 -07:00
playwright-ct-vue chore: reset page/context for reuse in component tests (#13264) 2022-04-04 12:39:43 -07:00
playwright-firefox chore: fix markdown links in NPM README's (#12833) 2022-03-17 15:28:57 +01:00
playwright-test fix(expect): proper return types (#13334) 2022-04-05 16:11:11 -07:00
playwright-webkit chore: fix markdown links in NPM README's (#12833) 2022-03-17 15:28:57 +01:00
recorder chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
trace-viewer fix(electron): better support for custom schemas (#13329) 2022-04-05 16:10:12 -07:00
web test(components): add more tests (#13168) 2022-03-29 21:06:11 -07:00
.eslintrc.js chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00