WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.52k stars 4.21k forks source link

[Flaky Test] Should open plugins sidebar using More Menu item and render content #48419

Closed github-actions[bot] closed 10 months ago

github-actions[bot] commented 1 year ago

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

Test title

Should open plugins sidebar using More Menu item and render content

Test path

specs/editor/plugins/plugins-api.test.js

Errors

Test passed after 1 failed attempt on update/jest-29.


Test passed after 1 failed attempt on update/make-shortcuts-provider-optional.


Test passed after 1 failed attempt on tabs-editor-settings.


Test passed after 1 failed attempt on tabs-editor-settings.


Test passed after 1 failed attempt on tabs-editor-settings.


Test passed after 1 failed attempt on tabs-editor-settings. ``` ● Using Plugins API › Sidebar › Should open plugins sidebar using More Menu item and render content Error: failed to find element matching selector ".edit-post-sidebar" 75 | await clickOnMoreMenuItem( 'Plugin more menu title' ); 76 | > 77 | const pluginSidebarContent = await page.$eval( | ^ 78 | '.edit-post-sidebar', 79 | ( el ) => el.innerHTML 80 | ); at ElementHandle.$eval (../../node_modules/puppeteer-core/src/common/JSHandle.ts:1034:13) at runMicrotasks () at Object. (specs/editor/plugins/plugins-api.test.js:77:33) ● Using Plugins API › Sidebar › Should open plugins sidebar using More Menu item and render content expect(jest.fn()).not.toHaveErrored(expected) Expected mock function not to be called but it was called with: ["Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at ul (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:82573) at Object.enqueueForceUpdate (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:114302) at Wy.t.forceUpdate (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=18:1:4584) at Wy.forceUpdate (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/components/index.min.js?ver=d27304d82c5edae0e94f:1:327003) at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/components/index.min.js?ver=d27304d82c5edae0e94f:1:326388 at Vr (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:73401) at el (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:80633) at Jr (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:80479) at Zr (../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:80013) at ../../http:/localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:91516"] console.error() should not be used unless explicitly expected See https://www.npmjs.com/package/@wordpress/jest-console for details. at runMicrotasks () ```
github-actions[bot] commented 1 year ago

This issue has gone 30 days without any activity.

github-actions[bot] commented 1 year ago

This issue has gone 30 days without any activity.