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] should be able to insert a reusable block twice #42758

Closed
github-actions bot opened this issue Jul 28, 2022 · 2 comments
Closed

[Flaky Test] should be able to insert a reusable block twice #42758

github-actions bot opened this issue Jul 28, 2022 · 2 comments
Labels
[Type] Flaky Test Auto-generated flaky test report issue

Comments

@github-actions
Copy link

github-actions bot commented Jul 28, 2022

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

Test title

should be able to insert a reusable block twice

Test path

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

Errors

[2022-07-28T05:55:35.539Z] Test passed after 1 failed attempt on trunk.
[2022-08-01T10:59:24.352Z] Test passed after 1 failed attempt on try/heading-color-ui.
[2022-09-14T15:23:37.609Z] Test passed after 1 failed attempt on issue/39223-save-while-uploading-incomplete.
[2022-11-01T08:55:18.755Z] Test passed after 1 failed attempt on trunk.
[2022-11-05T07:03:11.625Z] Test passed after 1 failed attempt on fix/edit-lock-disable-list-view-expansion.
[2023-09-12T00:49:50.919Z] Test passed after 1 failed attempt on update/block-editor-inserter-merge-patterns.
[2023-09-12T02:00:43.543Z] Test passed after 1 failed attempt on update/block-editor-inserter-merge-patterns.
[2023-09-12T22:28:59.828Z] Test passed after 1 failed attempt on update/block-editor-inserter-merge-patterns.
[2023-09-13T00:32:01.394Z] Test passed after 1 failed attempt on update/block-editor-inserter-merge-patterns.
[2023-09-23T07:17:32.619Z] Test passed after 1 failed attempt on update/reinstate-my-patterns-cageory-in-site-editor.
[2023-10-18T13:34:56.771Z] Test passed after 1 failed attempt on fix/pattern-categories-capabilities.
[2023-10-18T15:57:22.585Z] Test passed after 1 failed attempt on fix/pattern-categories-capabilities.
[2023-10-18T16:13:07.655Z] Test passed after 1 failed attempt on fix/pattern-categories-capabilities.
[2023-10-18T20:14:37.117Z] Test passed after 1 failed attempt on fix/pattern-categories-capabilities.
[2023-10-20T09:48:03.018Z] Test passed after 1 failed attempt on trunk.
[2023-10-20T09:52:52.791Z] Test passed after 1 failed attempt on rnmobile/reusable-block-title-dark-mode.
[2023-10-20T10:20:18.018Z] Test passed after 1 failed attempt on rnmobile/reusable-block-title-dark-mode.
[2023-10-20T13:39:18.989Z] Test passed after 2 failed attempts on update/remove-string-from-pages-sidebar.
[2023-10-20T13:41:23.624Z] Test passed after 1 failed attempt on trunk.
[2023-10-20T14:05:45.173Z] Test passed after 2 failed attempts on update/remove-string-from-pages-sidebar.
[2023-10-20T16:42:58.494Z] Test passed after 1 failed attempt on trunk.
[2023-10-20T18:01:47.701Z] Test passed after 1 failed attempt on add/dataviews-filters-in-columns.
[2023-10-20T18:36:58.662Z] Test passed after 1 failed attempt on trunk.
[2023-10-20T21:09:45.498Z] Test passed after 1 failed attempt on tweak/toolbar-buttons.
[2023-10-21T19:34:00.481Z] Test passed after 1 failed attempt on trunk.
[2023-10-23T11:58:23.653Z] Test passed after 1 failed attempt on rnmobile/social-icon-background-dark-mode.
[2023-10-23T13:00:38.448Z] Test passed after 1 failed attempt on update/add-unit-test-for-duotone-enhanced-pagination.
[2023-10-23T14:16:38.236Z] Test passed after 2 failed attempts on trunk.
[2023-10-23T14:21:01.346Z] Test passed after 2 failed attempts on add/e2e-utils-editor-preferences.
[2023-10-23T14:33:08.739Z] Test passed after 1 failed attempt on fix/saving-buttons-a11y.
[2023-10-23T15:11:15.552Z] Test passed after 2 failed attempts on trunk.
[2023-10-23T15:29:09.310Z] Test passed after 2 failed attempts on rnmobile/appium-2.
[2023-10-24T00:25:31.661Z] Test passed after 2 failed attempts on test/improve-e2e-test-consistency.
[2023-10-24T09:01:03.239Z] Test passed after 2 failed attempts on trunk.
[2023-10-24T10:41:26.247Z] Test passed after 2 failed attempts on trunk.
[2023-11-03T00:58:30.350Z] Test passed after 1 failed attempt on tweak/post-publish-external.
[2024-01-25T09:14:51.019Z] Test passed after 1 failed attempt on try/avoid-fetching-all-reusable-blocks.
[2024-01-25T09:34:18.500Z] Test passed after 1 failed attempt on try/avoid-fetching-all-reusable-blocks.
[2024-01-25T20:26:29.789Z] Test passed after 2 failed attempts on try/avoid-fetching-all-reusable-blocks.
  ● Pattern blocks › should be able to insert a reusable block twice

    Couldn't find "Duplicated reusable block" in the Patterns category.

      at insertFromGlobalInserter (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:258:9)
      at insertPattern (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:343:2)
      at Object.<anonymous> (specs/editor/various/pattern-blocks.test.js:218:3)

  ● Pattern blocks › should be able to insert a reusable block twice

    Couldn't find "Duplicated reusable block" in the Patterns category.

      at insertFromGlobalInserter (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:258:9)
      at insertPattern (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:343:2)
      at Object.<anonymous> (specs/editor/various/pattern-blocks.test.js:218:3)

@github-actions github-actions bot added the [Type] Flaky Test Auto-generated flaky test report issue label Jul 28, 2022
@github-actions
Copy link
Author

github-actions bot commented Sep 1, 2022

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 1, 2022
@github-actions github-actions bot closed this as completed Sep 3, 2022
@github-actions github-actions bot reopened this Sep 14, 2022
@github-actions github-actions bot reopened this Nov 1, 2022
@github-actions github-actions bot removed the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Nov 2, 2022
@github-actions
Copy link
Author

github-actions bot commented Dec 6, 2022

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 Dec 6, 2022
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2022
@github-actions github-actions bot reopened this Sep 12, 2023
github-actions bot referenced this issue Oct 20, 2023
Ensure the title section of Synced Patterns is visible within the editor when a block-based theme is used with a background that contrasts the device's dark/light mode.
github-actions bot referenced this issue Oct 20, 2023
* Improve focus management

This commit removes the logic to set focus differently
based on event.pointerType and instead sets focus on the
dialog itself when the lightbox opens, and on the lightbox
trigger when the lightbox closes.

* Add delay before focusing when closing lightbox

* Put focus back on close button when opening lightbox

It turns out that placing focus on the modal was causing
inconsistent behavior in Safari, so I've put the focus back
on the close button when the lightbox opens, which
performs predictably.

I've also added a tabindex to the image, which prevents
the focus ring from erroneously showing when opening the lightbox
with a mouse in Chrome and Firefox.

* Move focus to the dialog when opening the lightbox.

* Fix SVG markup.

* Consistent indentation with spaces.

* Remove unnecessary tabindex

---------

Co-authored-by: Andrea Fercia <[email protected]>
github-actions bot referenced this issue Oct 20, 2023
* Use PostCSS + PostCSS plugins for style transformation.

* Remove the now replaced CSS parsing code.

* Use synchronous PostCSS API.

* Update package-lock.json

* Add basic wrapping test

* Use correct postcss-prefixwrap package

* Update test snapshots

* Add more tests and fix type signature

* Ensure that data URLs do not break the CSS transformer

* Do not optional chain something that is not optional

* Filter out non-CSS styles before passing the array to transformStyles

---------

Co-authored-by: Luis Felipe Zaguini <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Flaky Test Auto-generated flaky test report issue
Projects
None yet
Development

No branches or pull requests

1 participant