PRACTICE FIXTURE — intentionally built for automation practice
Open shadow root
A semantic button and live result sit inside an open root.
Nested open shadow roots
An open host contains a custom element with its own open root.
Slotted content
These nodes stay in the light DOM and are assigned to named slots in an open root.
Slotted synthetic summary
Slotted content remains selectable from the light DOM.
Accessible form in an open root
The label, required input, submit button, and live result all exist in the component’s open root.
Closed shadow root boundary
The host is observable, but its internal control is deliberately unavailable to page JavaScript and locators.
The internal closed-shadow button is rendered for browser behavior observation, but it cannot be selected from page JavaScript or Playwright locators. Test the host’s documented attributes instead.