@shellygo/cypress-test-utils - v6.0.6 / Modules / CypressHelperOptions
Class: CypressHelperOptions
Table of contents
Constructors
Properties
Constructors
constructor
• new CypressHelperOptions()
Properties
defaultDataAttribute
• Optional defaultDataAttribute: string = "data-cy"
default data attribute for elements selection
handleSlotShadowDOM
• Optional handleSlotShadowDOM: boolean = true
when set to true, cypress helper will automatically find the assigned dom element of elements with dataTestID
with defaultShadowSlotSuffix suffix
injectA11yChecker
• Optional injectA11yChecker: boolean = false
when set to true, injects Axe (A11y test tool) before all tests
shadowSlotSuffix
• Optional shadowSlotSuffix: string = "slot"
slot dataTestID suffix (only relevant when handleSlotShadowDOM is set to true)
waitForElementsToLoad
• Optional waitForElementsToLoad: boolean = true
when set to true, waits until elements are loaded before returning them