cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.

Home Page:https://cypress.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Element is being covered by another element ({force: true} is not working)

pillsi opened this issue · comments

Description

When I click a link, I expected a pop up box to happen, but I saw the error "Element is being covered by another element" happened instead, I cannot use {force: true} to override this check since I need to check the element inside the pop up box.

URL of Issue(s)

An Intranet site

Steps to replicate

  1. Go to home page
  2. Click on product item details
  3. Click on "link__text"
  4. See error: Timed out retrying after 4050ms: cy.click() failed because this element:

Show re...

is being covered by another element:

...

Browser

Google Chrome V120

Device

  • PC
  • Mac
  • iPhone
  • iPad
  • Android Phone
  • Android Tablet

Additional Information

No response

@pillsi Could you provide some code to run that recreates this issue? We'll need that to investigate. Otherwise we'll have to close the issue with no path forward.