playwright/packages
Dmitry Gozman a8d4a8aa52
fix(text selector): ignore non-leading quote when parsing (#13170)
Previously, any unpaired quote in the text selector "escaped"
everything till the end of the selector string, and so any
subsequent chained selectors, including ">>" separator were ignored.

An example of misbehaving selector: `text=19" >> nth=1`.

Now, when text selector contains a non-leading quote, selector parser
does not assume it should escape ">>" separator and correctly
tokenizes all selectors from the chain.

Note that this behavior is a workaround for the fact that our
text selectors is somewhat poorly defined in this area. That said,
this workaround seems to be safe enough. It still does not work for
unpaired leading quotes like this: `text="19 >> nth=1`.
2022-03-30 09:33:32 -07:00
..
html-reporter chore(html-reporter): remove no-longer-needed code (#13167) 2022-03-29 21:08:10 -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(text selector): ignore non-leading quote when parsing (#13170) 2022-03-30 09:33:32 -07:00
playwright-ct-react test(components): add more tests (#13168) 2022-03-29 21:06:11 -07:00
playwright-ct-svelte chore: mount should return locator pointing to the component element / fragment (#12718) 2022-03-13 21:26:13 -07:00
playwright-ct-vue chore(vue): allow adding events in jsx templates (#12746) 2022-03-15 13:02:10 -07:00
playwright-firefox chore: fix markdown links in NPM README's (#12833) 2022-03-17 15:28:57 +01:00
playwright-test feat(vrt): new option "caret" for taking screenshots (#13164) 2022-03-29 17:48:13 -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 test(components): add more tests (#13168) 2022-03-29 21:06:11 -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