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] inserts synced patterns by dragging and dropping from the global inserter #61291

Closed
github-actions bot opened this issue May 1, 2024 · 1 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

Comments

@github-actions
Copy link

github-actions bot commented May 1, 2024

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

Test title

inserts synced patterns by dragging and dropping from the global inserter

Test path

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

Errors

[2024-05-01T16:55:54.715Z] Test passed after 1 failed attempt on trunk.
[2024-05-01T18:06:30.278Z] Test passed after 1 failed attempt on rollback/setup-node-update.
[2024-05-01T18:54:35.990Z] Test passed after 1 failed attempt on update/combobox-control-support-disabled-items.
[2024-05-02T03:12:22.742Z] Test passed after 2 failed attempts on try/content-only-pattern-block.
[2024-05-02T03:57:40.361Z] Test passed after 2 failed attempts on try/content-only-pattern-block.
[2024-05-02T05:16:44.774Z] Test passed after 1 failed attempt on fix/background-image-set-has-value.
[2024-05-02T05:49:06.789Z] Test passed after 1 failed attempt on shadows-editor.
[2024-05-02T08:24:59.897Z] Test passed after 1 failed attempt on cleanup/editor.
[2024-05-02T08:49:25.397Z] Test passed after 1 failed attempt on trunk.
[2024-05-02T08:50:34.237Z] Test passed after 1 failed attempt on fix/use-local-theme-json-schema.
[2024-05-02T08:58:34.322Z] Test passed after 1 failed attempt on trunk.
[2024-05-02T09:13:44.141Z] Test passed after 1 failed attempt on fix/use-local-theme-json-schema.
[2024-05-02T09:22:28.529Z] Test passed after 1 failed attempt on fix/url-popover-role-and-focus-return.
[2024-05-02T09:42:38.568Z] Test passed after 1 failed attempt on trunk.
[2024-05-02T10:50:34.977Z] Test passed after 1 failed attempt on perf/inserter-search.
[2024-05-02T11:47:53.667Z] Test passed after 2 failed attempts on add/aspect-ratio-theme-json-spec.
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()

Locator: locator('data-testid=block-list-insertion-point-indicator')
Expected: visible
Received: hidden
Call log:
  - expect.toBeVisible with timeout 5000ms
  - waiting for locator('data-testid=block-list-insertion-point-indicator')

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:301:50
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()

Locator: locator('data-testid=block-list-insertion-point-indicator')
Expected: visible
Received: hidden
Call log:
  - expect.toBeVisible with timeout 5000ms
  - waiting for locator('data-testid=block-list-insertion-point-indicator')

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:301:50
@github-actions github-actions bot added the [Type] Flaky Test Auto-generated flaky test report issue label May 1, 2024
github-actions bot referenced this issue May 1, 2024
* Move search into inserter tabs

* Make inserterSearch component

* focus the search field using a useEffect

* use request animation frame

* add comment

* remove unused code

* change selector for search

* use useRefEffect instead of the requestAnimationFrame

* Only inserter on mount

* keep the imperative ref and focus once the tabs are done

* revert changes to the inserter tabs and leave the tabs contents memoized

* reset order

* remove unneeded change

* reset order

* show message if no blocks and no patterns available, do not auto focus tabs or search

* fix test

* fix firefox bug

* auto focus the inserter when open so that we can tab into it

* Remove unused searchRef

* Pin hint to bottom of block tab panel so it doesn't flash

* Remove unnecessary tab filtering

* restore no results message

* Focus first active tab

* hide the inserter tabs on the widget editor

---------

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Andrei Draganescu <andrei.draganescu@automattic.com>

Co-authored-by: jeryj <jeryj@git.wordpress.org>
Co-authored-by: scruffian <scruffian@git.wordpress.org>
Co-authored-by: draganescu <andraganescu@git.wordpress.org>
Co-authored-by: getdave <get_dave@git.wordpress.org>
github-actions bot referenced this issue May 2, 2024
Co-authored-by: talldan <talldanwp@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
github-actions bot referenced this issue May 2, 2024
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
github-actions bot referenced this issue May 2, 2024
Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Copy link
Author

This issue has gone 15 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 18, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 19, 2024
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

0 participants