Cypress error CypressError: cy.click() failed because the center of this element is hidden from view
Another element (a sticky header, modal, or overlay) is sitting on top of the click target's center point.
Why this happens
- A covering element (fixed/sticky header, modal, toast) overlaps the target at the exact point Cypress tries to click
How to fix it
- Dismiss or close the covering element before clicking
- Scroll the target to a position that isn't covered: `cy.get(sel).scrollIntoView()`
- Avoid `{ force: true }` unless the overlap is a deliberate, harmless visual layer