Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flaky Test] last-inserted block should be given and keep the focus (small viewport) #48464

Closed
github-actions bot opened this issue Feb 26, 2023 · 4 comments
Labels
[Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. [Type] Flaky Test Auto-generated flaky test report issue

Comments

@github-actions
Copy link

github-actions bot commented Feb 26, 2023

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

Test title

last-inserted block should be given and keep the focus (small viewport)

Test path

specs/editor/various/inserting-blocks.test.js

Errors

[2023-02-26T21:41:50.874Z] Test passed after 2 failed attempts on try/attrs.
[2023-02-27T22:16:03.995Z] Test passed after 2 failed attempts on try/attrs.
[2023-03-07T12:01:57.001Z] Test passed after 1 failed attempt on try/dedicated-block-controls-filter.
[2023-04-26T09:33:45.942Z] Test passed after 2 failed attempts on fix/iframe-enqueuing-and-warn.
[2023-04-26T10:11:07.631Z] Test passed after 2 failed attempts on fix/iframe-enqueuing-and-warn.
[2023-06-02T15:42:56.891Z] Test passed after 1 failed attempt on try/fn-meta.
[2023-06-02T17:11:36.483Z] Test passed after 2 failed attempts on try/fn-meta.
[2023-06-09T14:22:43.006Z] Test passed after 2 failed attempts on add/custom-attribute-sources.
[2023-06-12T11:42:29.199Z] Test passed after 2 failed attempts on add/custom-attribute-sources.
[2023-06-15T06:30:31.728Z] Test passed after 2 failed attempts on add/back-to-top.
[2023-06-16T08:32:40.960Z] Test passed after 2 failed attempts on add/back-to-top.
[2023-06-19T05:32:52.682Z] Test passed after 2 failed attempts on add/back-to-top.
[2023-08-11T09:57:44.650Z] Test passed after 1 failed attempt on try/second-layout-prototype.
[2023-09-22T02:02:54.316Z] Test passed after 1 failed attempt on update/patterns-filter.
[2023-09-22T03:22:16.797Z] Test passed after 1 failed attempt on update/patterns-filter.
[2023-09-22T04:21:57.153Z] Test passed after 1 failed attempt on update/patterns-filter.
[2023-11-22T15:31:02.208Z] Test passed after 1 failed attempt on try/prerender-patterns.
[2023-12-09T12:02:43.958Z] Test passed after 1 failed attempt on components/move-kebabcase.
  ● Inserting blocks › last-inserted block should be given and keep the focus (small viewport)

    Node is detached from document

      at ElementHandle._scrollIntoViewIfNeeded (../../node_modules/puppeteer-core/src/common/JSHandle.ts:477:22)
          at runMicrotasks (<anonymous>)
      at ElementHandle.click (../../node_modules/puppeteer-core/src/common/JSHandle.ts:619:5)
      at insertFromGlobalInserter (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:260:2)
      at insertBlock (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:330:2)
      at specs/editor/various/inserting-blocks.test.js:379:4

  ● Inserting blocks › last-inserted block should be given and keep the focus (small viewport)

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

    Expected mock function not to be called but it was called with:
    ["ReferenceError: kebabCase is not defined

      at Pm (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=f68eeec03068c0ecf39f:33:4140)
      at St (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:47627)
      at $s (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:120574)
      at Sl (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88649)
      at kl (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88577)
      at bl (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88440)
      at sl (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85264)
      at il (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:83821)
      at v (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=18:1:3385)
      at MessagePort.ce (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=18:1:5527)"]
      console.error() should not be used unless explicitly expected
      See https://www.npmjs.com/package/@wordpress/jest-console for details.
          at runMicrotasks (<anonymous>)

@github-actions
Copy link
Author

This issue has gone 30 days without any activity.

@github-actions github-actions bot added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label May 27, 2023
@github-actions github-actions bot reopened this Jun 2, 2023
@github-actions github-actions bot removed the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Jun 3, 2023
@github-actions
Copy link
Author

This issue has gone 30 days without any activity.

@github-actions github-actions bot added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Jul 21, 2023
@github-actions github-actions bot reopened this Aug 11, 2023
@github-actions github-actions bot removed the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Aug 13, 2023
@github-actions
Copy link
Author

This issue has gone 30 days without any activity.

@github-actions github-actions bot added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Sep 18, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2023
@github-actions github-actions bot reopened this Sep 22, 2023
@github-actions github-actions bot removed the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Sep 23, 2023
@github-actions
Copy link
Author

This issue has gone 30 days without any activity.

@github-actions github-actions bot added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Oct 24, 2023
@github-actions github-actions bot reopened this Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. [Type] Flaky Test Auto-generated flaky test report issue
Projects
None yet
Development

No branches or pull requests

1 participant