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 (large viewport) #48463

Closed
github-actions bot opened this issue Feb 26, 2023 · 3 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 (large viewport)

Test path

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

Errors

[2023-02-26T21:41:49.759Z] Test passed after 1 failed attempt on try/attrs.
[2023-02-27T22:16:03.202Z] Test passed after 1 failed attempt on try/attrs.
[2023-05-11T11:11:32.031Z] Test passed after 1 failed attempt on add/inserter-sorting.
[2023-05-11T12:57:15.362Z] Test passed after 1 failed attempt on add/inserter-sorting.
[2023-10-19T20:37:06.018Z] Test passed after 2 failed attempts on 55224/migrate-BlockPatternList.
[2023-10-20T13:22:42.879Z] Test passed after 1 failed attempt on 55224/migrate-BlockPatternList.
  ● Inserting blocks › last-inserted block should be given and keep the focus (large viewport)

    TimeoutError: waiting for selector `figure[data-type="core/image"]` failed: timeout 30000ms exceeded

      379 | 			await insertBlock( 'Image' );
      380 |
    > 381 | 			await canvas().waitForSelector( 'figure[data-type="core/image"]' );
          | 			               ^
      382 |
      383 | 			const selectedBlock = await page.evaluate( () => {
      384 | 				return wp.data.select( 'core/block-editor' ).getSelectedBlock();

      at new WaitTask (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
      at DOMWorld.waitForSelectorInPage (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
      at Object.internalHandler.waitFor (../../node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
      at DOMWorld.waitForSelector (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
      at Frame.waitForSelector (../../node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
      at waitForSelector (specs/editor/various/inserting-blocks.test.js:381:19)
          at runMicrotasks (<anonymous>)

@github-actions github-actions bot added the [Type] Flaky Test Auto-generated flaky test report issue label Feb 26, 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 Mar 30, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2023
@github-actions github-actions bot reopened this May 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 May 12, 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 Jun 11, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2023
@github-actions github-actions bot reopened this Oct 19, 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 Oct 20, 2023
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 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