Feature: Add global config option for including shadow DOM in commands #8442
Labels
topic: shadow dom
Issues when testing shadow dom
type: feature
New feature that does not currently exist
Current behavior:
Currently, to enable shadow dom support, it's necessary to pass
includeShadowDom
into a command that supports it every time it's used.Desired behavior:
Enable configuring shadow dom inclusion globally, per-suite, per-test, or programmatically. Still need to decide on a name for it.
cypress.json
Turns on inclusion behavior for all tests
Per Suite
Turns on inclusion behavior for all tests and commands within the suite
Per Test
Turns on inclusion behavior for all commands within the test
Programmatically
Turns on inclusion behavior conditionally based on where it's used (before, beforeEach, etc)
The text was updated successfully, but these errors were encountered: