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] can be saved when modified inside of a published post #55507

Closed
github-actions bot opened this issue Oct 20, 2023 · 1 comment
Closed

[Flaky Test] can be saved when modified inside of a published post #55507

github-actions bot opened this issue Oct 20, 2023 · 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 Oct 20, 2023

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

Test title

can be saved when modified inside of a published post

Test path

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

Errors

[2023-10-20T10:39:44.100Z] Test passed after 1 failed attempt on trunk.
[2023-10-20T11:20:32.085Z] Test passed after 1 failed attempt on rnmobile/social-icon-background-dark-mode.
[2023-10-20T11:23:51.461Z] Test passed after 1 failed attempt on trunk.
[2023-10-20T11:57:43.397Z] Test passed after 1 failed attempt on trunk.
[2023-10-20T12:29:37.235Z] Test passed after 1 failed attempt on rnmobile/reusable-block-title-dark-mode.
[2023-10-20T13:41:21.801Z] Test passed after 1 failed attempt on trunk.
[2023-10-20T15:30:38.574Z] Test passed after 1 failed attempt on trunk.
[2023-10-20T15:55:54.002Z] Test passed after 1 failed attempt on 55224/migrate-BlockPatternList.
[2023-10-20T16:42:56.455Z] Test passed after 1 failed attempt on trunk.
[2023-10-20T18:36:57.773Z] Test passed after 1 failed attempt on trunk.
[2023-10-20T21:25:35.941Z] Test passed after 1 failed attempt on tweak/post-publish-external.
[2023-10-20T22:06:36.342Z] Test passed after 1 failed attempt on tweak/fullscreen-modal.
[2023-10-21T18:23:19.942Z] Test passed after 1 failed attempt on scripts-readme-typo.
[2023-10-21T18:56:14.126Z] Test passed after 1 failed attempt on scripts-readme-typo.
[2023-10-22T07:20:17.107Z] Test passed after 1 failed attempt on docs/reorder-toc-create-block.
[2023-10-22T21:45:58.460Z] Test passed after 2 failed attempts on trunk.
[2023-10-23T09:15:36.309Z] Test passed after 1 failed attempt on fix/query-loop-enhanced-pagination-inner-block-restrictions.
[2023-10-23T11:24:46.414Z] Test passed after 2 failed attempts on rnmobile/social-icon-background-dark-mode.
[2023-10-23T11:58:22.626Z] Test passed after 2 failed attempts on rnmobile/social-icon-background-dark-mode.
[2023-10-23T14:16:37.293Z] Test passed after 1 failed attempt on trunk.
[2023-10-23T14:33:07.671Z] Test passed after 1 failed attempt on fix/saving-buttons-a11y.
[2023-10-23T15:11:14.544Z] Test passed after 1 failed attempt on trunk.
[2023-10-23T15:32:37.695Z] Test passed after 2 failed attempts on fix/navigation-link-encode.
[2023-10-24T09:01:01.868Z] Test passed after 1 failed attempt on trunk.
[2023-10-24T10:41:24.458Z] Test passed after 1 failed attempt on trunk.
[2023-11-03T00:58:29.354Z] Test passed after 1 failed attempt on tweak/post-publish-external.
  ● Pattern blocks › can be saved when modified inside of a published post

    TimeoutError: waiting for XPath `//*[contains(@class, "components-snackbar")]/*[contains(text(),"pattern created:")]` failed: timeout 30000ms exceeded

      at new WaitTask (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
      at DOMWorld.waitForXPath (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
      at Frame.waitForXPath (../../node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47)
      at Page.waitForXPath (../../node_modules/puppeteer-core/src/common/Page.ts:3281:29)
      at waitForXPath (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/create-reusable-block.js:36:13)
          at runMicrotasks (<anonymous>)
      at Object.<anonymous> (specs/editor/various/pattern-blocks.test.js:133:3)

@github-actions github-actions bot added the [Type] Flaky Test Auto-generated flaky test report issue label Oct 20, 2023
github-actions bot referenced this issue Oct 20, 2023
* Add option to convert Classic block to blocks in Missing block

* Add integration tests for Classic block

* Update `react-native-editor` changelog
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]>
github-actions bot referenced this issue Oct 22, 2023
* Add ABSPATH check

* User perf plugin syntax
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 Nov 29, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 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

0 participants