mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-24 08:50:15 -06:00
* add check within getFirstStickyPositionParent for $el[0] to exist - pull out check for undefined or html/body/doc element into a shared elements method. * prevent more checks on undefined parents & els causing getComputedStyle to throw * yarn-lock * Expand isUndefinedOrHTMLBodyDoc to Cypress.dom + add types * Add unit tests for isUndefinedOrHTMLBodyDoc method * yarn-lock * move 'el[0]' existence check to below other checks (right when it's needed) * yarn-lock