Cumulocity-IoT / cumulocity-cypress

Collection of commands and utilities to be used for automating tests for Cumulocity with Cypress.
Apache License 2.0
8 stars 2 forks source link

fix(c8yscrn): Fix highlighting elements with parents having 0 bounding rect #204

Closed thomaswinkler closed 6 hours ago

thomaswinkler commented 5 days ago

When elements have parents that for example have display: contents set, the parents are actually not visible and have a 0 bounding rect. This could break calculation of highlight rect if selector matches multiple DOM elements. Now parents with 0 bounding rect are ignored.

thomaswinkler commented 6 hours ago

Approved