Skip to content

WebKit - click on a DOM element - scaffolded E2E test failure #32031

@MikeMcC399

Description

@MikeMcC399

Current behavior

Cypress fails E2E scaffolding test against WebKit

2-advanced-examples/actions.cy.js

.click() - click on a DOM element

Desired behavior

Cypress should pass on all default scaffolded tests when running against the latest version of WebKit.

Test code to reproduce

git clone --branch 32031-webkit-scaffold-test https://github.com/MikeMcC399/cypress-test-tiny
cd cypress-test-tiny
npm ci
npx playwright install-deps webkit
npx cypress run -s cypress/e2e/2-advanced-examples/actions.cy.js --browser webkit

Cypress Version

From: 14.5.2
To: 15.5.0

Node version

v22.18.0 LTS
v24.11.0 LTS

Operating System

Ubuntu 24.04.3 LTS

Debug Logs

1) Actions
       .click() - click on a DOM element:
     CypressError: Timed out retrying after 4250ms: `cy.click()` failed because this element:

`<span class="label label-primary" data-toggle="popover" data-placement="bottom" data-content="clicked" data-original-title="" title="">and me</span>`

is being covered by another element:

`<div class="arrow" style="left: 50%;"></div>`

Fix this problem, or use {force: true} to disable error checking.

https://on.cypress.io/element-cannot-be-interacted-with
  at CypressError (https://example.cypress.io/__cypress/runner/cypress_runner.js:77514:10)
  at cypressErr (https://example.cypress.io/__cypress/runner/cypress_runner.js:77535:34)
  at throwErrByPath (https://example.cypress.io/__cypress/runner/cypress_runner.js:77483:24)
  at ensureIsDescendent (https://example.cypress.io/__cypress/runner/cypress_runner.js:114387:82)
  at ensureDescendents (https://example.cypress.io/__cypress/runner/cypress_runner.js:114438:23)
  at ensureDescendentsAndScroll (https://example.cypress.io/__cypress/runner/cypress_runner.js:114444:31)
  at ensureElIsNotCovered (https://example.cypress.io/__cypress/runner/cypress_runner.js:114575:31)
  at runAllChecks (https://example.cypress.io/__cypress/runner/cypress_runner.js:114774:72)
  at retryActionability (https://example.cypress.io/__cypress/runner/cypress_runner.js:114811:28)
  at tryCatcher (https://example.cypress.io/__cypress/runner/cypress_runner.js:1777:28)
  at <unknown> (https://example.cypress.io/__cypress/runner/cypress_runner.js:4285:29)
  at tryCatcher (https://example.cypress.io/__cypress/runner/cypress_runner.js:1777:28)
  at <unknown> (https://example.cypress.io/__cypress/runner/cypress_runner.js:1489:35)
  at <unknown> (https://example.cypress.io/__cypress/runner/cypress_runner.js:1546:43)
  at <unknown> (https://example.cypress.io/__cypress/runner/cypress_runner.js:1591:24)
  at <unknown> (https://example.cypress.io/__cypress/runner/cypress_runner.js:1671:33)
  at <unknown> (https://example.cypress.io/__cypress/runner/cypress_runner.js:1615:33)
  at <unknown> (https://example.cypress.io/__cypress/runner/cypress_runner.js:5420:54)
  From Your Spec Code:
      at  (https://example.cypress.io/__cypress/tests:110:42)
      at  (https://example.cypress.io/__cypress/runner/cypress_runner.js:141799:43)
      at callFn (https://example.cypress.io/__cypress/runner/cypress_runner.js:160877:25)
      at  (https://example.cypress.io/__cypress/runner/cypress_runner.js:160864:13)
      at finallyHandler (https://example.cypress.io/__cypress/runner/cypress_runner.js:4042:27)
      at tryCatcher (https://example.cypress.io/__cypress/runner/cypress_runner.js:1777:28)
      at  (https://example.cypress.io/__cypress/runner/cypress_runner.js:1489:35)
      at  (https://example.cypress.io/__cypress/runner/cypress_runner.js:1546:43)
      at  (https://example.cypress.io/__cypress/runner/cypress_runner.js:1591:24)
      at  (https://example.cypress.io/__cypress/runner/cypress_runner.js:1671:33)
      at _drainQueueStep (https://example.cypress.io/__cypress/runner/cypress_runner.js:2377:27)
      at _drainQueue (https://example.cypress.io/__cypress/runner/cypress_runner.js:2370:24)
      at  (https://example.cypress.io/__cypress/runner/cypress_runner.js:2386:16)
      at  (https://example.cypress.io/__cypress/runner/cypress_runner.js:2256:26)

Other

Note: A minimum version of 1.45.0 is required to support Ubuntu 24.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions