playwright/tests/components/ct-react-vite/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 vite tests (#16525) 2022-08-15 13:17:56 -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 chore(ct): react vite tests (#16525) 2022-08-15 13:17:56 -07:00
main.tsx chore(ct): react vite tests (#16525) 2022-08-15 13:17:56 -07:00
tests.spec.tsx fix(ct): support empty fragments (#17475) 2022-09-21 15:12:18 -07:00
vite-env.d.ts chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00