mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
f17d345ac9
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. |
||
---|---|---|
.. | ||
assets | ||
components | ||
App.css | ||
App.tsx | ||
index.js | ||
react-app-env.d.ts | ||
tests.spec.tsx |