playwright/tests/components/ct-react/src
Dmitry Gozman f17d345ac9
fix(ct): support empty fragments (#17475)
Currently, we ues `#root` vs `#root > *` selector for component roots
depending on the number of root children. This heuristic detects
fragments that render multiple elements inside the root.

However, this does not work with empty fragments that do not render
anything.

The fix is to make the `#root >> control=component` selector that would
dynamically detect the root. This supports empty fragments and also
allows for dynamic updates of the fragments.
2022-09-21 15:12:18 -07:00
..
assets chore(ct): react tests (#16584) 2022-08-16 11:25:55 -07:00
components fix(ct): support empty fragments (#17475) 2022-09-21 15:12:18 -07:00
App.css chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
App.tsx fix(ct): react build errors (#16882) 2022-08-29 09:17:01 -07:00
index.js fix(ct): react build errors (#16882) 2022-08-29 09:17:01 -07:00
react-app-env.d.ts chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
tests.spec.tsx fix(ct): support empty fragments (#17475) 2022-09-21 15:12:18 -07:00