Skip to content

insertBlock tests fails in WordPress 6.9 #149

Description

@kmgalanakis

Describe the bug

In WordPress 6.9 the test Should be able to Insert Heading for insertBlock fails.

 1) Command: insertBlock
       Should be able to Insert Heading:
     Error: Timed out retrying after 4000ms: Syntax error, unrecognized expression: #[object Object]
      at Sizzle.error (http://localhost:8889/__cypress/runner/cypress_runner.js:8470:8)
      at Sizzle.tokenize (http://localhost:8889/__cypress/runner/cypress_runner.js:9122:11)
      at jQuery.Sizzle [as find] (http://localhost:8889/__cypress/runner/cypress_runner.js:7744:15)
      at jQuery.fn.init.find (http://localhost:8889/__cypress/runner/cypress_runner.js:9805:11)
      at getEl (http://localhost:8889/__cypress/runner/cypress_runner.js:135367:31)
      at <unknown> (http://localhost:8889/__cypress/runner/cypress_runner.js:135404:21)
      at Object.subjectFn (http://localhost:8889/__cypress/runner/cypress_runner.js:144038:16)
      at $Cy.verifyUpcomingAssertions (http://localhost:8889/__cypress/runner/cypress_runner.js:143382:31)
      at onRetry (http://localhost:8889/__cypress/runner/cypress_runner.js:144029:15)
      at tryCatcher (http://localhost:8889/__cypress/runner/cypress_runner.js:1807:23)
      at Promise.attempt.Promise.try (http://localhost:8889/__cypress/runner/cypress_runner.js:4315:29)
      at whenStable (http://localhost:8889/__cypress/runner/cypress_runner.js:143916:68)
      at <unknown> (http://localhost:8889/__cypress/runner/cypress_runner.js:143857:14)
      at tryCatcher (http://localhost:8889/__cypress/runner/cypress_runner.js:1807:23)
      at Promise._settlePromiseFromHandler (http://localhost:8889/__cypress/runner/cypress_runner.js:1519:31)
      at Promise._settlePromise (http://localhost:8889/__cypress/runner/cypress_runner.js:1576:18)
      at Promise._settlePromise0 (http://localhost:8889/__cypress/runner/cypress_runner.js:1621:10)
      at Promise._settlePromises (http://localhost:8889/__cypress/runner/cypress_runner.js:1701:18)
      at Promise._fulfill (http://localhost:8889/__cypress/runner/cypress_runner.js:1645:18)
      at <unknown> (http://localhost:8889/__cypress/runner/cypress_runner.js:5450:46)

https://github.com/10up/cypress-wp-utils/actions/runs/21477108489/job/61863825673

Steps to Reproduce

Run the insertBlock tests in WordPress 6.9.

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions