Skip to content

[Flaky Test] should not allow blocks to be removed #48279

@github-actions

Description

@github-actions

Flaky test detected. This is an auto-generated issue by GitHub Actions. Please do NOT edit this manually.

Test title

should not allow blocks to be removed

Test path

specs/editor/plugins/cpt-locking.test.js

Errors

[2023-02-21T12:23:12.267Z] Test passed after 6 failed attempts on try/duotone-custom-properties.
[2023-04-26T07:02:33.996Z] Test passed after 6 failed attempts on add/editor-content-only-lock.
[2023-06-09T14:22:48.291Z] Test passed after 6 failed attempts on add/custom-attribute-sources.
[2023-06-12T11:42:32.739Z] Test passed after 6 failed attempts on add/custom-attribute-sources.
  ● cpt locking › template_lock all › should not allow blocks to be removed

    expect(jest.fn()).not.toHaveErrored(expected)

    Expected mock function not to be called but it was called with:
    ["TypeError: n is not iterable

      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"],["TypeError: n is not iterable
      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"]
          at runMicrotasks (<anonymous>)

  ● cpt locking › template_lock all › should not allow blocks to be removed

    expect(jest.fn()).not.toHaveErrored(expected)

    Expected mock function not to be called but it was called with:
    ["TypeError: n is not iterable

      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"],["TypeError: n is not iterable
      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"]
          at runMicrotasks (<anonymous>)

  ● cpt locking › template_lock all › should not allow blocks to be removed

    expect(jest.fn()).not.toHaveErrored(expected)

    Expected mock function not to be called but it was called with:
    ["TypeError: n is not iterable

      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"],["TypeError: n is not iterable
      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"]
          at runMicrotasks (<anonymous>)

  ● cpt locking › template_lock insert › should not allow blocks to be removed

    expect(jest.fn()).not.toHaveErrored(expected)

    Expected mock function not to be called but it was called with:
    ["TypeError: n is not iterable

      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"],["TypeError: n is not iterable
      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"]
          at runMicrotasks (<anonymous>)

  ● cpt locking › template_lock insert › should not allow blocks to be removed

    expect(jest.fn()).not.toHaveErrored(expected)

    Expected mock function not to be called but it was called with:
    ["TypeError: n is not iterable

      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"],["TypeError: n is not iterable
      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"]
          at runMicrotasks (<anonymous>)

  ● cpt locking › template_lock insert › should not allow blocks to be removed

    expect(jest.fn()).not.toHaveErrored(expected)

    Expected mock function not to be called but it was called with:
    ["TypeError: n is not iterable

      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"],["TypeError: n is not iterable
      at Mt (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=42530a18270fd7554276:13:5362)
      at t (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:15262)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=894244f36027b29bf884:9:6738
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22466
      at __unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:19751)
      at Object.__unstableMarkListeningStores (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:20008)
      at l (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22431)
      at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:22935
      at He (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23065)
      at Ke (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=e5107bc7bc6c17e5b554:1:23382)"]
          at runMicrotasks (<anonymous>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] Flaky TestAuto-generated flaky test report issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions