playwright/packages
Dmitry Gozman a7b2b04588
fix(getByRole): name and exact (#18719)
Following the `getByText()` and other methods:

- By default, matching is substring and case-insensitive. Before, it was
only case-insensitive, but not substring.
- With new option `exact: true`, matching is full string and
case-sensitive.
- Matching always normalizes whitespace.
- Codegen generates `exact: false` by default.
- `internal:role` treats `[name="foo"i]` as non-exact match.

Various fixes:
- Updated `getByRole` docs to match the reality.
- Locator generator edge cases.
2022-11-11 15:58:36 -08:00
..
html-reporter chore: drive-by fixes for the snapshotPathTemplate (#18715) 2022-11-10 15:50:13 -08:00
playwright chore: cut 1.28 branch (#18746) 2022-11-11 15:30:15 -08:00
playwright-chromium chore: cut 1.28 branch (#18746) 2022-11-11 15:30:15 -08:00
playwright-core fix(getByRole): name and exact (#18719) 2022-11-11 15:58:36 -08:00
playwright-ct-react chore: cut 1.28 branch (#18746) 2022-11-11 15:30:15 -08:00
playwright-ct-solid chore: cut 1.28 branch (#18746) 2022-11-11 15:30:15 -08:00
playwright-ct-svelte chore: cut 1.28 branch (#18746) 2022-11-11 15:30:15 -08:00
playwright-ct-vue chore: cut 1.28 branch (#18746) 2022-11-11 15:30:15 -08:00
playwright-ct-vue2 chore: cut 1.28 branch (#18746) 2022-11-11 15:30:15 -08:00
playwright-firefox chore: cut 1.28 branch (#18746) 2022-11-11 15:30:15 -08:00
playwright-test chore: cut 1.28 branch (#18746) 2022-11-11 15:30:15 -08:00
playwright-webkit chore: cut 1.28 branch (#18746) 2022-11-11 15:30:15 -08:00
protocol/src chore: report paused signal to the debug controller clients (#18701) 2022-11-10 12:15:29 -08:00
recorder chore: allow toggling recorder/traceviewer color modes (#18718) 2022-11-10 17:20:09 -08:00
trace/src chore: render typed locators in the trace viewer (#18166) 2022-10-18 19:23:40 -07:00
trace-viewer chore: allow toggling recorder/traceviewer color modes (#18718) 2022-11-10 17:20:09 -08:00
web chore: allow toggling recorder/traceviewer color modes (#18718) 2022-11-10 17:20:09 -08: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