playwright/tests
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
..
android chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
assets feat(role): add more tests for accessible name (#13154) 2022-03-29 11:59:44 -07:00
components fix(tests): remove lock from component tests, test real experience (#13095) 2022-03-26 13:54:33 -07:00
config fix(html-report): only invoke git once (#13165) 2022-03-29 15:49:58 -07:00
electron chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
library feat(role): add more tests for accessible name (#13154) 2022-03-29 11:59:44 -07:00
page fix(text selector): ignore non-leading quote when parsing (#13170) 2022-03-30 09:33:32 -07:00
playwright-test chore(html-report): render metainfo as a chip (#13166) 2022-03-29 18:13:08 -07:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00