UNPKG

@revoloo/cypress6

Version:

Cypress.io end to end testing tool

10 lines (8 loc) 336 B
/** * Order of preference for including shadow dom: * command-level > programmatic config > test-level > suite-level > cypress.json */ export const resolveShadowDomInclusion = (Cypress: Cypress.Cypress, commandValue?: boolean): boolean => { if (commandValue != null) return commandValue return Cypress.config('includeShadowDom') }