playwright/packages
Dmitry Gozman 38fdc5fe24
fix(selectors): refactor chaining logic (#13764)
This fixes a few issues:
- strict mode was producing false negatives if multiple query paths
  lead to the same element being picked;
- in some cases the number of intermediate items in the list was
  exponential and crashed quickly.

What changed:
- `visible` engine is a real engine now;
- `capture` selectors are transformed to `has=` selectors for
  easier implementation;
- chained querying switched from a list to a set to avoid
  exponential size.
2022-04-27 20:51:57 +01:00
..
html-reporter chore: vite all frameworks (#13780) 2022-04-26 16:15:08 -07:00
playwright chore: set minimum version to Node.js 14 (#13469) 2022-04-26 17:52:32 +02:00
playwright-chromium chore: set minimum version to Node.js 14 (#13469) 2022-04-26 17:52:32 +02:00
playwright-core fix(selectors): refactor chaining logic (#13764) 2022-04-27 20:51:57 +01:00
playwright-ct-react chore: vite all frameworks (#13780) 2022-04-26 16:15:08 -07:00
playwright-ct-svelte chore: vite all frameworks (#13780) 2022-04-26 16:15:08 -07:00
playwright-ct-vue chore: vite all frameworks (#13780) 2022-04-26 16:15:08 -07:00
playwright-firefox chore: set minimum version to Node.js 14 (#13469) 2022-04-26 17:52:32 +02:00
playwright-test chore: remove unnecessary types from overrides-test (#13794) 2022-04-27 16:14:37 +01:00
playwright-webkit chore: set minimum version to Node.js 14 (#13469) 2022-04-26 17:52:32 +02:00
recorder chore: flatten supplements (#13437) 2022-04-08 12:52:40 -07:00
trace-viewer chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
web chore: vite all frameworks (#13780) 2022-04-26 16:15:08 -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