Skip to content

Instantly share code, notes, and snippets.

@ochameau
Created May 14, 2019 17:37
Show Gist options
  • Save ochameau/1f5bfd990b644061c1eea532a95f4c51 to your computer and use it in GitHub Desktop.
Save ochameau/1f5bfd990b644061c1eea532a95f4c51 to your computer and use it in GitHub Desktop.
1557849967292 [email protected] WARN Loading extension '[email protected]': Reading manifest: Invalid host permission: resource://pdf.js/
1557849967292 [email protected] WARN Loading extension '[email protected]': Reading manifest: Invalid host permission: about:reader*
Juggler listening on ws://127.0.0.1:38421
(/home/alex/gutenberg/node_modules/puppeteer-firefox/.local-browser/firefox-linux-2f959d575a3d61f5dda12e4e2dca1f46a92ab569/firefox/firefox:80886): dconf-WARNING **: 09:06:12.423: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied
console.error: BroadcastService:
receivedBroadcastMessage: handler for
remote-settings/monitor_changes
threw error:
Message: Error: Polling for changes failed: NetworkError when attempting to fetch resource..
Stack:
remoteSettingsFunction/remoteSettings.pollChanges@resource://services-settings/remote-settings.js:188:13
FAIL packages/e2e-tests/specs/links.test.js (207.743s)
● Links › can be created by selecting text and clicking Link
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Links can be created by selecting text and clicking Link 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>This is <a href="https://wordpress.org/gutenberg">Gutenberg</a></p>
+ <p>This is Gutenber<a href="https://wordpress.org/gutenberg">g</a></p>
<!-- /wp:paragraph -->"
47 |
48 | // The link should have been inserted
> 49 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
50 | } );
51 |
52 | it( 'can be created by selecting text and using keyboard shortcuts', async () => {
at Object.toMatchSnapshot (specs/links.test.js:49:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › can be created by selecting text and using keyboard shortcuts
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Links can be created by selecting text and using keyboard shortcuts 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>This is <a href="https://wordpress.org/gutenberg">Gutenberg</a></p>
+ <p>This is Gutenber<a href="https://wordpress.org/gutenberg">g</a></p>
<!-- /wp:paragraph -->"
71 |
72 | // The link should have been inserted
> 73 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
74 | } );
75 |
76 | it( 'can be created without any text selected', async () => {
at Object.toMatchSnapshot (specs/links.test.js:73:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › can be created instantly when a URL is selected
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Links can be created instantly when a URL is selected 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>This is Gutenberg: <a href="https://wordpress.org/gutenberg">https://wordpress.org/gutenberg</a></p>
+ <p>This is Gutenberg: https://wordpress.org/gutenberg</p>
<!-- /wp:paragraph -->"
113 |
114 | // A link with the selected URL as its href should have been inserted
> 115 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
116 | } );
117 |
118 | it( 'is not created when we click away from the link input', async () => {
at Object.toMatchSnapshot (specs/links.test.js:115:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › can be edited
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Links can be edited 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>This is <a href="https://wordpress.org/gutenberg/handbook">Gutenberg</a></p>
+ <p>This is Gutenber<a href="https://wordpress.org/gutenberg/handbook">g</a></p>
<!-- /wp:paragraph -->"
174 |
175 | // The link should have been updated
> 176 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
177 | } );
178 |
179 | it( 'can be removed', async () => {
at Object.toMatchSnapshot (specs/links.test.js:176:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › can be edited with collapsed selection
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Links can be edited with collapsed selection 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>This is <a href="https://wordpress.org/gutenberg/handbook">Gutenberg</a></p>
+ <p>This is Gutenber<a href="https://wordpress.org/gutenberg/handbook">g</a></p>
<!-- /wp:paragraph -->"
245 | await page.keyboard.type( '/handbook' );
246 | await page.click( 'button[aria-label="Apply"]' );
> 247 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
248 | } );
249 |
250 | const createPostWithTitle = async ( titleText ) => {
at Object.toMatchSnapshot (specs/links.test.js:247:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › allows autocomplete suggestions to be navigated with the keyboard
expect(received).toBe(expected) // Object.is equality
Expected: "true"
Received: "false"
336 | await page.keyboard.press( 'ArrowDown' );
337 | const isSelected = await page.evaluate( () => document.querySelector( '.block-editor-url-input__suggestion' ).getAttribute( 'aria-selected' ) );
> 338 | expect( isSelected ).toBe( 'true' );
| ^
339 |
340 | // Expect the link to apply correctly when pressing Enter.
341 | // Note - have avoided using snapshots here since the link url can't be determined ahead of time.
at Object.toBe (specs/links.test.js:338:24)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › allows use of escape key to dismiss the url popover
Protocol error (Page.dispatchKeyEvent): Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsITextInputProcessor.keydown]
dispatchKeyEvent@chrome://juggler/content/content/PageAgent.js:507:7
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
250 | const createPostWithTitle = async ( titleText ) => {
251 | await createNewPost();
> 252 | await page.type( '.editor-post-title__input', titleText );
| ^
253 | await page.click( '.editor-post-publish-panel__toggle' );
254 |
255 | // Disable reason: Wait for the animation to complete, since otherwise the
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Keyboard.down (../../node_modules/puppeteer-firefox/lib/Input.js:46:24)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at ElementHandle.type (../../node_modules/puppeteer-firefox/lib/JSHandle.js:369:38)
-- ASYNC --
at ElementHandle.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at DOMWorld.type (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:340:18)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.type (../../node_modules/puppeteer-firefox/lib/Page.js:594:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at type (specs/links.test.js:252:14)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › can be modified using the keyboard once a link has been set
Protocol error (Page.dispatchKeyEvent): Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsITextInputProcessor.keydown]
dispatchKeyEvent@chrome://juggler/content/content/PageAgent.js:507:7
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
404 | // Create a block with some text and format it as a link.
405 | await clickBlockAppender();
> 406 | await page.keyboard.type( 'This is Gutenberg' );
| ^
407 | await pressKeyWithModifier( 'shift', 'ArrowLeft' );
408 | await pressKeyWithModifier( 'primary', 'K' );
409 | await waitForAutoFocus();
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Keyboard.down (../../node_modules/puppeteer-firefox/lib/Input.js:46:24)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:406:23)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:406:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:406:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › adds an assertive message for screenreader users when an invalid link is set
Protocol error (Page.dispatchKeyEvent): Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsITextInputProcessor.keydown]
dispatchKeyEvent@chrome://juggler/content/content/PageAgent.js:507:7
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
433 | it( 'adds an assertive message for screenreader users when an invalid link is set', async () => {
434 | await clickBlockAppender();
> 435 | await page.keyboard.type( 'This is Gutenberg' );
| ^
436 | await pressKeyWithModifier( 'shift', 'ArrowLeft' );
437 | await pressKeyWithModifier( 'primary', 'K' );
438 | await waitForAutoFocus();
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Keyboard.down (../../node_modules/puppeteer-firefox/lib/Input.js:46:24)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:435:23)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:435:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:435:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › link popover remains visible after a mouse drag event
Protocol error (Page.dispatchKeyEvent): Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsITextInputProcessor.keydown]
dispatchKeyEvent@chrome://juggler/content/content/PageAgent.js:507:7
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Keyboard.down (../../node_modules/puppeteer-firefox/lib/Input.js:46:24)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at page (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/search-for-block.js:13:8)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at page (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/search-for-block.js:13:8)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at page (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/search-for-block.js:13:8)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Links › should contain a label when it should open in a new tab
Protocol error (Page.dispatchKeyEvent): Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsITextInputProcessor.keydown]
dispatchKeyEvent@chrome://juggler/content/content/PageAgent.js:507:7
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
481 | it( 'should contain a label when it should open in a new tab', async () => {
482 | await clickBlockAppender();
> 483 | await page.keyboard.type( 'This is WordPress' );
| ^
484 | // Select "WordPress".
485 | await pressKeyWithModifier( 'shift', 'ArrowLeft' );
486 | await pressKeyWithModifier( 'primary', 'k' );
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Keyboard.down (../../node_modules/puppeteer-firefox/lib/Input.js:46:24)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:483:23)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:483:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:483:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
› 5 snapshots failed.
console.error: BroadcastService:
receivedBroadcastMessage: handler for
remote-settings/monitor_changes
threw error:
Message: Error: Polling for changes failed: NetworkError when attempting to fetch resource..
Stack:
remoteSettingsFunction/remoteSettings.pollChanges@resource://services-settings/remote-settings.js:188:13
FAIL packages/e2e-tests/specs/writing-flow.test.js (178.059s)
● adding blocks › should not delete surrounding space when deleting a word with Alt+Backspace
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "adding blocks should not delete surrounding space when deleting a word with Alt+Backspace 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>alpha gamma</p>
+ <p>alpha beta gamma</p>
<!-- /wp:paragraph -->"
269 | }
270 |
> 271 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
272 |
273 | await page.keyboard.type( 'beta' );
274 |
at Object.toMatchSnapshot (specs/writing-flow.test.js:271:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/writing-flow.test.js:9:103)
at _next (specs/writing-flow.test.js:11:194)
● adding blocks › should not delete surrounding space when deleting a word with Alt+Backspace
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "adding blocks should not delete surrounding space when deleting a word with Alt+Backspace 2".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>alpha beta gamma</p>
+ <p>alpha betabeta gamma</p>
<!-- /wp:paragraph -->"
273 | await page.keyboard.type( 'beta' );
274 |
> 275 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
276 | } );
277 |
278 | it( 'should not delete surrounding space when deleting a selected word', async () => {
at Object.toMatchSnapshot (specs/writing-flow.test.js:275:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/writing-flow.test.js:9:103)
at _next (specs/writing-flow.test.js:11:194)
● adding blocks › should navigate empty paragraph
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "adding blocks should navigate empty paragraph 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>1</p>
+ <p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>2</p>
<!-- /wp:paragraph -->"
309 | await page.keyboard.type( '2' );
310 |
> 311 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
312 | } );
313 |
314 | it( 'should navigate contenteditable with padding', async () => {
at Object.toMatchSnapshot (specs/writing-flow.test.js:311:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/writing-flow.test.js:9:103)
at _next (specs/writing-flow.test.js:11:194)
● adding blocks › should navigate contenteditable with padding
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "adding blocks should navigate contenteditable with padding 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
<p>1</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>2</p>
+ <p></p>
<!-- /wp:paragraph -->"
326 | await page.keyboard.type( '2' );
327 |
> 328 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
329 | } );
330 | } );
331 |
at Object.toMatchSnapshot (specs/writing-flow.test.js:328:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/writing-flow.test.js:9:103)
at _next (specs/writing-flow.test.js:11:194)
› 4 snapshots failed.
PASS packages/e2e-tests/specs/blocks/list.test.js (268.11s)
FAIL packages/e2e-tests/specs/preview.test.js (97.672s)
● Preview › should open a preview window for a new post
TypeError: editorPage.bringToFront is not a function
113 |
114 | // Return to editor to change title.
> 115 | await editorPage.bringToFront();
| ^
116 | await editorPage.type( '.editor-post-title__input', '!' );
117 | await waitForPreviewNavigation( previewPage );
118 |
at Object.bringToFront (specs/preview.test.js:115:20)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/preview.test.js:31:103)
at _next (specs/preview.test.js:33:194)
● Preview › should not revert title during a preview right after a save draft
TypeError: editorPage.bringToFront is not a function
181 |
182 | // Return to editor.
> 183 | await editorPage.bringToFront();
| ^
184 |
185 | // Append bbbbb to the title, and tab away from the title so blur event is triggered.
186 | await editorPage.type( '.editor-post-title__input', 'bbbbb' );
at Object.bringToFront (specs/preview.test.js:183:20)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/preview.test.js:31:103)
at _next (specs/preview.test.js:33:194)
● Preview with Custom Fields enabled › displays edits to the post title and content in the preview
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Preview with Custom Fields enabled › displays edits to the post title and content in the preview
Error: failed to find element matching selector ".entry-content p"
at ElementHandle.$eval (../../node_modules/puppeteer-firefox/lib/JSHandle.js:251:13)
-- ASYNC --
at ElementHandle.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at DOMWorld.$eval (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:94:21)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.$eval (../../node_modules/puppeteer-firefox/lib/Page.js:678:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee6$ (specs/preview.test.js:578:40)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/preview.test.js:31:103)
at _next (specs/preview.test.js:33:194)
● Preview with Custom Fields enabled › displays edits to the post title and content in the preview
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
FAIL packages/e2e-tests/specs/change-detection.test.js (181.767s)
● Change detection › Should prompt if save failed
TypeError: page.setOfflineMode is not a function
192 | await page.type( '.editor-post-title__input', 'Hello World' );
193 |
> 194 | await page.setOfflineMode( true );
| ^
195 |
196 | await Promise.all( [
197 | // Keyboard shortcut Ctrl+S save.
at Object.setOfflineMode (specs/change-detection.test.js:194:14)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/change-detection.test.js:19:103)
at _next (specs/change-detection.test.js:21:194)
JavaScript error: resource://gre/modules/BrowserUtils.jsm, line 410: TypeError: docShell is null
FAIL packages/e2e-tests/specs/reusable-blocks.test.js (167.849s)
● Reusable Blocks › can be created with no title
TimeoutError: waiting for selector ".block-editor-block-toolbar button[aria-label="More options"]" failed: timeout 30000ms exceeded
49 | _context.next = 10;
50 | return page.waitForSelector(BUTTON_SELECTOR);
> 51 |
| ^
52 | case 10:
53 | _context.next = 12;
54 | return page.click(BUTTON_SELECTOR);
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/click-block-toolbar-button.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/click-block-toolbar-button.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Reusable Blocks › can be converted to a regular block
TimeoutError: waiting for XPath "//button[text()="Convert to Regular Block"]" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:359:17)
at Frame.waitForXPath (../../node_modules/puppeteer-firefox/lib/FrameManager.js:355:28)
at Page.waitForXPath (../../node_modules/puppeteer-firefox/lib/Page.js:645:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee6$ (specs/reusable-blocks.test.js:350:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee6$ (specs/reusable-blocks.test.js:350:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/reusable-blocks.test.js:27:103)
at _next (specs/reusable-blocks.test.js:29:194)
● Reusable Blocks › can be deleted
TimeoutError: waiting for XPath "//button[text()="Remove from Reusable Blocks"]" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:359:17)
at Frame.waitForXPath (../../node_modules/puppeteer-firefox/lib/FrameManager.js:355:28)
at Page.waitForXPath (../../node_modules/puppeteer-firefox/lib/Page.js:645:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee7$ (specs/reusable-blocks.test.js:400:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee7$ (specs/reusable-blocks.test.js:400:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/reusable-blocks.test.js:27:103)
at _next (specs/reusable-blocks.test.js:29:194)
● Reusable Blocks › multi-selection reusable block can be converted back to regular blocks
TimeoutError: waiting for XPath "//button[text()="Convert to Regular Block"]" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:359:17)
at Frame.waitForXPath (../../node_modules/puppeteer-firefox/lib/FrameManager.js:355:28)
at Page.waitForXPath (../../node_modules/puppeteer-firefox/lib/Page.js:645:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee9$ (specs/reusable-blocks.test.js:564:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee9$ (specs/reusable-blocks.test.js:564:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/reusable-blocks.test.js:27:103)
at _next (specs/reusable-blocks.test.js:29:194)
FAIL packages/e2e-tests/specs/embedding.test.js (71.307s)
● Embedding content › should render embeds in the correct state
TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:30)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12)
at Object.onRequestMatch (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:2)
● Embedding content › should allow the user to convert unembeddable URLs to a paragraph with a link in it
Protocol error (Page.reload): ERROR: failed to dispatch method 'Page.reload' result {
"navigationId": null,
"navigationURL": null
}
Expected "<root>.navigationId" to be |string|; found |object| `null` instead. _dispatch@chrome://juggler/content/protocol/Dispatcher.js:106:15
49 | _context.next = 4;
50 | return page.setViewport(currentDimension);
> 51 |
| ^
52 | case 4:
53 | _context.next = 6;
54 | return (0, _waitForWindowDimensions.waitForWindowDimensions)(currentDimension.width, currentDimension.height);
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Page.reload (../../node_modules/puppeteer-firefox/lib/Page.js:504:63)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.setViewport (../../node_modules/puppeteer-firefox/lib/Page.js:361:18)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/set-browser-viewport.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Embedding content › should allow the user to convert unembeddable URLs to a paragraph with a link in it
No node found for selector: .block-editor-default-block-appender__content
29 | _context.next = 2;
30 | return page.click('.block-editor-default-block-appender__content');
> 31 |
| ^
32 | case 2:
33 | case "end":
34 | return _context.stop();
at assert (../../node_modules/puppeteer-firefox/lib/helper.js:172:11)
at DOMWorld.click (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:272:5)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.click (../../node_modules/puppeteer-firefox/lib/Page.js:578:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/click-block-appender.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/click-block-appender.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Embedding content › should allow the user to convert unembeddable URLs to a paragraph with a link in it
TimeoutError: waiting for XPath "//button[contains(text(), 'Convert to link')]" failed: timeout 30000ms exceeded
32 | _context.next = 2;
33 | return page.waitForXPath("//button[contains(text(), '".concat(buttonText, "')]"));
> 34 |
| ^
35 | case 2:
36 | button = _context.sent;
37 | _context.next = 5;
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:359:17)
at Frame.waitForXPath (../../node_modules/puppeteer-firefox/lib/FrameManager.js:355:28)
at Page.waitForXPath (../../node_modules/puppeteer-firefox/lib/Page.js:645:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/click-button.js:34:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/click-button.js:34:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Embedding content › should retry embeds that could not be embedded with trailing slashes, without the trailing slashes
TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:30)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12)
at Object.onRequestMatch (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:2)
● Embedding content › should allow the user to try embedding a failed URL again
Protocol error (Page.reload): ERROR: failed to dispatch method 'Page.reload' result {
"navigationId": null,
"navigationURL": null
}
Expected "<root>.navigationId" to be |string|; found |object| `null` instead. _dispatch@chrome://juggler/content/protocol/Dispatcher.js:106:15
49 | _context.next = 4;
50 | return page.setViewport(currentDimension);
> 51 |
| ^
52 | case 4:
53 | _context.next = 6;
54 | return (0, _waitForWindowDimensions.waitForWindowDimensions)(currentDimension.width, currentDimension.height);
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Page.reload (../../node_modules/puppeteer-firefox/lib/Page.js:504:63)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.setViewport (../../node_modules/puppeteer-firefox/lib/Page.js:361:18)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/set-browser-viewport.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Embedding content › should allow the user to try embedding a failed URL again
TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:30)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12)
at Object.onRequestMatch (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:2)
● Embedding content › should switch to the WordPress block correctly
Protocol error (Page.reload): ERROR: failed to dispatch method 'Page.reload' result {
"navigationId": null,
"navigationURL": null
}
Expected "<root>.navigationId" to be |string|; found |object| `null` instead. _dispatch@chrome://juggler/content/protocol/Dispatcher.js:106:15
49 | _context.next = 4;
50 | return page.setViewport(currentDimension);
> 51 |
| ^
52 | case 4:
53 | _context.next = 6;
54 | return (0, _waitForWindowDimensions.waitForWindowDimensions)(currentDimension.width, currentDimension.height);
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Page.reload (../../node_modules/puppeteer-firefox/lib/Page.js:504:63)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.setViewport (../../node_modules/puppeteer-firefox/lib/Page.js:361:18)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/set-browser-viewport.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
(node:80419) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'addExpectationResult' of undefined
(node:80419) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7)
(node:80419) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:80419) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'addExpectationResult' of undefined
(node:80419) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 8)
JavaScript error: resource://gre/modules/BrowserUtils.jsm, line 410: TypeError: docShell is null
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
FAIL packages/e2e-tests/specs/splitting-merging.test.js (71.654s)
● splitting and merging blocks › should split and merge paragraph blocks using Enter and Backspace
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "splitting and merging blocks should split and merge paragraph blocks using Enter and Backspace 3".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p><strong>First</strong></p>
+ <p>First<strong>Secon</strong></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>BeforeSecond:Second</p>
+ <p>BeforeSecond:d</p>
<!-- /wp:paragraph -->"
51 | await page.keyboard.type( 'BeforeSecond:' );
52 |
> 53 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
54 | } );
55 |
56 | it( 'should merge into inline boundary position', async () => {
at Object.toMatchSnapshot (specs/splitting-merging.test.js:53:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/splitting-merging.test.js:9:103)
at _next (specs/splitting-merging.test.js:11:194)
› 1 snapshot failed.
FAIL packages/e2e-tests/specs/multi-block-selection.test.js (41.5s)
● Multi-block selection › should only trigger multi-selection when at the end
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Multi-block selection should only trigger multi-selection when at the end 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>1.</p>
+ <p>14.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->"
164 | await page.keyboard.press( 'Backspace' );
165 |
> 166 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
167 | } );
168 |
169 | it( 'should use selection direction to determine vertical edge', async () => {
at Object.toMatchSnapshot (specs/multi-block-selection.test.js:166:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/multi-block-selection.test.js:15:103)
at _next (specs/multi-block-selection.test.js:17:194)
› 1 snapshot failed.
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/rich-text.test.js (50.485s)
[Child 96480, Chrome_ChildThread] WARNING: pipe error (3): Connection reset by peer: file /usr/local/google/home/lushnikov/prog/juggler/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 349
FAIL packages/e2e-tests/specs/nux.test.js (24.544s)
● New User Experience (NUX) › should enable tips when the "Enable tips" option is toggled on
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
PASS packages/e2e-tests/specs/blocks/quote.test.js (86.964s)
FAIL packages/e2e-tests/specs/adding-blocks.test.js (14.004s)
● adding blocks › Should insert content using the placeholder and the regular inserter
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "adding blocks Should insert content using the placeholder and the regular inserter 3".
- Snapshot
+ Received
@@ -9,13 +9,11 @@
<!-- wp:quote -->
<blockquote class="wp-block-quote"><p>Quote block</p></blockquote>
<!-- /wp:quote -->
<!-- wp:preformatted -->
- <pre class="wp-block-preformatted">Pre text
-
- Foo</pre>
+ <pre class="wp-block-preformatted">Pre bl textoo</pre>
<!-- /wp:preformatted -->
<!-- wp:shortcode -->
[myshortcode]With multiple
lines preserved[/myshortcode]
103 | await codeEditorButton.click( 'button' );
104 |
> 105 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
106 | } );
107 |
108 | // Check for regression of https://github.com/WordPress/gutenberg/issues/9583
at Object.toMatchSnapshot (specs/adding-blocks.test.js:105:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/adding-blocks.test.js:15:103)
at _next (specs/adding-blocks.test.js:17:194)
› 1 snapshot failed.
PASS packages/e2e-tests/specs/keyboard-navigable-blocks.test.js (9.247s)
PASS packages/e2e-tests/specs/plugins/align-hook.test.js (62.511s)
FAIL packages/e2e-tests/specs/plugins/annotations.test.js (19.267s)
● Using Plugins API › Annotations › Allows a block to be annotated
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Using Plugins API › Annotations › Keeps the cursor in the same location when applying annotation
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Using Plugins API › Annotations › Moves when typing before it
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Using Plugins API › Annotations › Grows when typing inside it
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
FAIL packages/e2e-tests/specs/block-deletion.test.js (43.164s)
● block deletion - › deleting the third block using the Remove Block menu item › results in two remaining blocks and positions the caret at the end of the second block
Element .block-editor-block-settings-menu__toggle not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● deleting all blocks › results in the default block getting selected
Element .block-editor-block-settings-menu__toggle not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/editor-modes.test.js (24.154s)
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/plugins/block-icons.test.js (71.236s)
PASS packages/e2e-tests/specs/taxonomies.test.js (18.309s)
JavaScript error: debugger eval code, line 4: Error: Unexpected focus loss
JavaScript error: debugger eval code, line 4: Error: Unexpected focus loss
FAIL packages/e2e-tests/specs/sidebar.test.js (10.535s)
● Sidebar › should have sidebar visible at the start with document sidebar active on desktop
@debugger eval code:4:17
● Sidebar › should have the sidebar closed by default on mobile
Evaluation failed: document.body is null
@debugger eval code:2:7
12 | function observeFocusLoss() {
13 | page.on('load', function () {
> 14 | page.evaluate(function () {
| ^
15 | document.body.addEventListener('focusout', function (event) {
16 | if (!event.relatedTarget) {
17 | throw new Error('Unexpected focus loss');
at createHandle (../../node_modules/puppeteer-firefox/lib/JSHandle.js:407:13)
at ExecutionContext.evaluateHandle (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:75:12)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
● Sidebar › should have the sidebar closed by default on mobile
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["[JavaScript Error: \"Error: Unexpected focus loss\" {file: \"debugger eval code\" line: 4}]
@debugger eval code:4:17
"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
● Sidebar › should close the sidebar when resizing from desktop to mobile
Execution context was destroyed, most likely because of a navigation.
29 | _context.next = 2;
30 | return page.evaluate(function () {
> 31 | return window.localStorage.clear();
| ^
32 | });
33 |
34 | case 2:
at rewriteError (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:79:15)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/clear-local-storage.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/clear-local-storage.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should close the sidebar when resizing from desktop to mobile
@debugger eval code:4:17
● Sidebar › should reopen sidebar the sidebar when resizing from mobile to desktop if the sidebar was closed automatically
Execution context was destroyed, most likely because of a navigation.
29 | _context.next = 2;
30 | return page.evaluate(function () {
> 31 | return window.localStorage.clear();
| ^
32 | });
33 |
34 | case 2:
at rewriteError (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:79:15)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/clear-local-storage.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/clear-local-storage.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should reopen sidebar the sidebar when resizing from mobile to desktop if the sidebar was closed automatically
Execution context was destroyed, most likely because of a navigation.
12 | function observeFocusLoss() {
13 | page.on('load', function () {
> 14 | page.evaluate(function () {
| ^
15 | document.body.addEventListener('focusout', function (event) {
16 | if (!event.relatedTarget) {
17 | throw new Error('Unexpected focus loss');
at rewriteError (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:79:15)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
● Sidebar › should reopen sidebar the sidebar when resizing from mobile to desktop if the sidebar was closed automatically
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["[JavaScript Error: \"Error: Unexpected focus loss\" {file: \"debugger eval code\" line: 4}]
@debugger eval code:4:17
"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
● Sidebar › should preserve tab order while changing active tab
Navigation to http://localhost:8889/wp-admin/post-new.php failed: NS_BINDING_ABORTED
48 | _context.next = 2;
49 | return page.goto((0, _createUrl.createURL)((0, _path.join)('wp-admin', adminPath), query));
> 50 |
| ^
51 | case 2:
52 | if (!(0, _isCurrentUrl.isCurrentURL)('wp-login.php')) {
53 | _context.next = 7;
at NavigationWatchdog._onNavigationAborted (../../node_modules/puppeteer-firefox/lib/NavigationWatchdog.js:107:29)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.goto (../../node_modules/puppeteer-firefox/lib/Page.js:425:43)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should preserve tab order while changing active tab
Evaluation failed: document.body is null
@debugger eval code:2:7
12 | function observeFocusLoss() {
13 | page.on('load', function () {
> 14 | page.evaluate(function () {
| ^
15 | document.body.addEventListener('focusout', function (event) {
16 | if (!event.relatedTarget) {
17 | throw new Error('Unexpected focus loss');
at createHandle (../../node_modules/puppeteer-firefox/lib/JSHandle.js:407:13)
at ExecutionContext.evaluateHandle (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:75:12)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
● Sidebar › should be possible to programmatically remove Document Settings panels
Evaluation failed: wp is not defined
@debugger eval code:3:15
64 | _context.next = 6;
65 | return page.evaluate(function (_enableTips) {
> 66 | var action = _enableTips ? 'enableTips' : 'disableTips';
| ^
67 | wp.data.dispatch('core/nux')[action]();
68 | }, enableTips);
69 |
at createHandle (../../node_modules/puppeteer-firefox/lib/JSHandle.js:407:13)
at ExecutionContext.evaluateHandle (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:75:12)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/create-new-post.js:66:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Sidebar › should be possible to programmatically remove Document Settings panels
Navigation to http://localhost:8889/wp-admin/post-new.php failed: NS_BINDING_ABORTED
49 | _context.next = 4;
50 | return page.setViewport(currentDimension);
> 51 |
| ^
52 | case 4:
53 | _context.next = 6;
54 | return (0, _waitForWindowDimensions.waitForWindowDimensions)(currentDimension.width, currentDimension.height);
at NavigationWatchdog._onNavigationAborted (../../node_modules/puppeteer-firefox/lib/NavigationWatchdog.js:107:29)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.setViewport (../../node_modules/puppeteer-firefox/lib/Page.js:361:18)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/set-browser-viewport.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should be possible to programmatically remove Document Settings panels
Navigation to http://localhost:8889/wp-admin/post-new.php failed: NS_BINDING_ABORTED
48 | _context.next = 2;
49 | return page.goto((0, _createUrl.createURL)((0, _path.join)('wp-admin', adminPath), query));
> 50 |
| ^
51 | case 2:
52 | if (!(0, _isCurrentUrl.isCurrentURL)('wp-login.php')) {
53 | _context.next = 7;
at NavigationWatchdog._onNavigationAborted (../../node_modules/puppeteer-firefox/lib/NavigationWatchdog.js:107:29)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.goto (../../node_modules/puppeteer-firefox/lib/Page.js:425:43)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should be possible to programmatically remove Document Settings panels
Navigation to http://localhost:8889/wp-admin/post-new.php failed: NS_BINDING_ABORTED
48 | _context.next = 2;
49 | return page.goto((0, _createUrl.createURL)((0, _path.join)('wp-admin', adminPath), query));
> 50 |
| ^
51 | case 2:
52 | if (!(0, _isCurrentUrl.isCurrentURL)('wp-login.php')) {
53 | _context.next = 7;
at NavigationWatchdog._onNavigationAborted (../../node_modules/puppeteer-firefox/lib/NavigationWatchdog.js:107:29)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.goto (../../node_modules/puppeteer-firefox/lib/Page.js:425:43)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should be possible to programmatically remove Document Settings panels
Navigation to http://localhost:8889/wp-admin/post-new.php failed: NS_BINDING_ABORTED
49 | _context.next = 4;
50 | return page.setViewport(currentDimension);
> 51 |
| ^
52 | case 4:
53 | _context.next = 6;
54 | return (0, _waitForWindowDimensions.waitForWindowDimensions)(currentDimension.width, currentDimension.height);
at NavigationWatchdog._onNavigationAborted (../../node_modules/puppeteer-firefox/lib/NavigationWatchdog.js:107:29)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.setViewport (../../node_modules/puppeteer-firefox/lib/Page.js:361:18)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/set-browser-viewport.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
(node:80419) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'addExpectationResult' of undefined
(node:80419) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 12)
JavaScript error: debugger eval code, line 4: Error: Unexpected focus loss
FAIL packages/e2e-tests/specs/block-transforms.test.js (2169.86s)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__image-alt-no-align into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__image-fill-no-focal-point-selected into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__image-fill-with-focal-point-selected into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__is-stacked-on-mobile into the Video block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Video"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__vertical-align-bottom into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__video into the Video block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Video"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Code in fixture core__code into the Preformatted block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Preformatted"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Cover in fixture core__cover into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Cover in fixture core__cover__video into the Video block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Video"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Cover in fixture core__cover__video-overlay into the Video block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Video"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Gallery in fixture core__gallery into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Gallery in fixture core__gallery__columns into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Heading in fixture core__heading__h2-em into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Heading in fixture core__heading__h2-em into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Heading in fixture core__heading__h2 into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Heading in fixture core__heading__h2 into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__attachment-link into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__attachment-link into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__attachment-link into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__attachment-link into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__center-caption into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__center-caption into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__center-caption into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__center-caption into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-class into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-class into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-class into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-class into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-rel into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-rel into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-rel into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-rel into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__media-link into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__media-link into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__media-link into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__media-link into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block List in fixture core__list__ul into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block List in fixture core__list__ul into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Paragraph in fixture core__paragraph__align-right into the Heading block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Heading"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Paragraph in fixture core__paragraph__align-right into the List block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="List"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Paragraph in fixture core__paragraph__align-right into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Paragraph in fixture core__paragraph__align-right into the Preformatted block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Preformatted"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Paragraph in fixture core__paragraph__align-right into the Verse block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Verse"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Preformatted in fixture core__preformatted into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Pullquote in fixture core__pullquote into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Pullquote in fixture core__pullquote__multi-paragraph into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Quote in fixture core__quote__style-1 into the List block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="List"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Quote in fixture core__quote__style-1 into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Quote in fixture core__quote__style-1 into the Heading block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Heading"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Quote in fixture core__quote__style-1 into the Pullquote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Pullquote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Verse in fixture core__verse into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Video in fixture core__video into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Video in fixture core__video into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Video in fixture core__video into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
PASS packages/e2e-tests/specs/font-size-picker.test.js (57.653s)
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
FAIL packages/e2e-tests/specs/plugins/meta-boxes.test.js (39.019s)
● Meta boxes › Should render dynamic blocks when the meta box uses the excerpt for front end rendering
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Unhandled promise rejection JSHandle@error"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
PASS packages/e2e-tests/specs/plugins/templates.test.js (55.851s)
PASS packages/e2e-tests/specs/block-hierarchy-navigation.test.js (27.469s)
FAIL packages/e2e-tests/specs/publishing.test.js (38.606s)
● Publishing › a post with pre-publish checks disabled › should publish the post without opening the post-publish sidebar.
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a post with pre-publish checks disabled › should publish the post without opening the post-publish sidebar.
expect(received).toBeNull()
Received: {"_context": {"_executionContextId": "{a1f8d60e-4829-41d1-9406-706d6dc9ab61}", "_frame": [Frame], "_session": [JugglerSession]}, "_disposed": false, "_executionContextId": "{a1f8d60e-4829-41d1-9406-706d6dc9ab61}", "_frame": {"_DOMContentLoadedFired": false, "_children": [Set], "_detached": false, "_firedEvents": [Set], "_frameId": "{fc3e8896-a62b-4638-834d-f52bb5488f7c}", "_frameManager": [FrameManager], "_lastCommittedNavigationId": "{e359804a-c21c-48b3-80db-b84df0ee7ddc}", "_loadFired": false, "_mainWorld": [DOMWorld], "_name": "", "_networkManager": [NetworkManager], "_page": [Page], "_parentFrame": null, "_session": [JugglerSession], "_timeoutSettings": [TimeoutSettings], "_url": "http://localhost:8889/wp-admin/post-new.php"}, "_frameId": "{fc3e8896-a62b-4638-834d-f52bb5488f7c}", "_objectId": "{68ecddaf-1c2f-461a-a717-b0562c19c389}", "_protocolValue": {"objectId": "{68ecddaf-1c2f-461a-a717-b0562c19c389}", "unserializableValue": undefined, "value": undefined}, "_session": {"_callbacks": [Map], "_connection": [Connection], "_events": [Object], "_eventsCount": 15, "_maxListeners": undefined, "_sessionId": "{8dd7e176-451b-4b25-aff5-9afd2f6a9496}", "_targetType": "page"}, "_subtype": "node", "_type": "object"}
68 |
69 | // The "Publish" button should be shown instead of the "Publish..." toggle
> 70 | expect( await page.$( '.editor-post-publish-panel__toggle' ) ).toBeNull();
| ^
71 | expect( await page.$( '.editor-post-publish-button' ) ).not.toBeNull();
72 |
73 | await publishPostWithPrePublishChecksDisabled();
at Object.toBeNull (specs/publishing.test.js:70:68)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/publishing.test.js:11:103)
at _next (specs/publishing.test.js:13:194)
● Publishing › a post with pre-publish checks disabled › should publish the post without opening the post-publish sidebar.
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a page with pre-publish checks disabled › should publish the page without opening the post-publish sidebar.
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a page with pre-publish checks disabled › should publish the page without opening the post-publish sidebar.
expect(received).toBeNull()
Received: {"_context": {"_executionContextId": "{fc1f96e9-632b-4071-8621-37658e3686fe}", "_frame": [Frame], "_session": [JugglerSession]}, "_disposed": false, "_executionContextId": "{fc1f96e9-632b-4071-8621-37658e3686fe}", "_frame": {"_DOMContentLoadedFired": false, "_children": [Set], "_detached": false, "_firedEvents": [Set], "_frameId": "{fc3e8896-a62b-4638-834d-f52bb5488f7c}", "_frameManager": [FrameManager], "_lastCommittedNavigationId": "{cfcad289-7e5a-426f-8a1d-26744ce8fd1c}", "_loadFired": false, "_mainWorld": [DOMWorld], "_name": "", "_networkManager": [NetworkManager], "_page": [Page], "_parentFrame": null, "_session": [JugglerSession], "_timeoutSettings": [TimeoutSettings], "_url": "http://localhost:8889/wp-admin/post-new.php"}, "_frameId": "{fc3e8896-a62b-4638-834d-f52bb5488f7c}", "_objectId": "{77674983-96a9-4d4c-a8e8-ae6230d07ec9}", "_protocolValue": {"objectId": "{77674983-96a9-4d4c-a8e8-ae6230d07ec9}", "unserializableValue": undefined, "value": undefined}, "_session": {"_callbacks": [Map], "_connection": [Connection], "_events": [Object], "_eventsCount": 15, "_maxListeners": undefined, "_sessionId": "{8dd7e176-451b-4b25-aff5-9afd2f6a9496}", "_targetType": "page"}, "_subtype": "node", "_type": "object"}
68 |
69 | // The "Publish" button should be shown instead of the "Publish..." toggle
> 70 | expect( await page.$( '.editor-post-publish-panel__toggle' ) ).toBeNull();
| ^
71 | expect( await page.$( '.editor-post-publish-button' ) ).not.toBeNull();
72 |
73 | await publishPostWithPrePublishChecksDisabled();
at Object.toBeNull (specs/publishing.test.js:70:68)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/publishing.test.js:11:103)
at _next (specs/publishing.test.js:13:194)
● Publishing › a page with pre-publish checks disabled › should publish the page without opening the post-publish sidebar.
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a post in small viewports › should ignore the pre-publish checks and show the Publish... toggle instead of the Publish button
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a post in small viewports › should ignore the pre-publish checks and show the Publish... toggle instead of the Publish button
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a page in small viewports › should ignore the pre-publish checks and show the Publish... toggle instead of the Publish button
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a page in small viewports › should ignore the pre-publish checks and show the Publish... toggle instead of the Publish button
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/plugins/container-blocks.test.js (39.101s)
PASS packages/e2e-tests/specs/plugins/cpt-locking.test.js (58.798s)
PASS packages/e2e-tests/specs/new-post.test.js (35.436s)
PASS packages/e2e-tests/specs/sidebar-permalink-panel.test.js (35.995s)
FAIL packages/e2e-tests/specs/plugins/plugins-api.test.js (33.03s)
● Using Plugins API › Sidebar › Should open plugins sidebar using More Menu item and render content
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Using Plugins API › Sidebar › Should close plugins sidebar using More Menu item
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
FAIL packages/e2e-tests/specs/blocks/classic.test.js (45.209s)
● Classic › should insert media
TimeoutError: waiting for selector "div[aria-label="Add Media"]" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee3$ (specs/blocks/classic.test.js:116:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee3$ (specs/blocks/classic.test.js:116:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/blocks/classic.test.js:21:103)
at _next (specs/blocks/classic.test.js:23:194)
PASS packages/e2e-tests/specs/block-switcher.test.js (20.813s)
PASS packages/e2e-tests/specs/undo.test.js (21.005s)
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/a11y.test.js (20.068s)
PASS packages/e2e-tests/specs/publish-panel.test.js (17.586s)
PASS packages/e2e-tests/specs/datepicker.test.js (17.834s)
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/plugins/inner-blocks-allowed-blocks.test.js (19.67s)
FAIL packages/e2e-tests/specs/manage-reusable-blocks.test.js (33.334s)
● Managing reusable blocks › Should import reusable blocks
TimeoutError: waiting for selector ".notice-success" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee2$ (specs/manage-reusable-blocks.test.js:118:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee2$ (specs/manage-reusable-blocks.test.js:118:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/manage-reusable-blocks.test.js:13:103)
at _next (specs/manage-reusable-blocks.test.js:15:194)
FAIL packages/e2e-tests/specs/plugins/meta-attribute-block.test.js (21.545s)
● Block with a meta attribute › Should use the same value in all the blocks
Execution context was destroyed, most likely because of a navigation.
at rewriteError (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:79:15)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ElementHandle.getProperty (../../node_modules/puppeteer-firefox/lib/JSHandle.js:47:46)
at ElementHandle.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee5$ (specs/plugins/meta-attribute-block.test.js:170:38)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/plugins/meta-attribute-block.test.js:11:103)
at _next (specs/plugins/meta-attribute-block.test.js:13:194)
FAIL packages/e2e-tests/specs/publish-button.test.js (17.834s)
● PostPublishButton › should be disabled when post is not saveable
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when post is not saveable
expect(received).not.toBeNull()
Received: null
27 | it( 'should be disabled when post is not saveable', async () => {
28 | const publishButton = await page.$( '.editor-post-publish-button[aria-disabled="true"]' );
> 29 | expect( publishButton ).not.toBeNull();
| ^
30 | } );
31 |
32 | it( 'should be disabled when post is being saved', async () => {
at Object.toBeNull (specs/publish-button.test.js:29:31)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/publish-button.test.js:9:103)
at _next (specs/publish-button.test.js:11:194)
● PostPublishButton › should be disabled when post is not saveable
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when post is being saved
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when post is being saved
expect(received).not.toBeNull()
Received: null
35 |
36 | await page.click( '.editor-post-save-draft' );
> 37 | expect( await page.$( '.editor-post-publish-button[aria-disabled="true"]' ) ).not.toBeNull();
| ^
38 | } );
39 |
40 | it( 'should be disabled when metabox is being saved', async () => {
at Object.toBeNull (specs/publish-button.test.js:37:85)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/publish-button.test.js:9:103)
at _next (specs/publish-button.test.js:11:194)
● PostPublishButton › should be disabled when post is being saved
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when metabox is being saved
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when metabox is being saved
expect(received).not.toBeNull()
Received: null
43 |
44 | await page.evaluate( () => window.wp.data.dispatch( 'core/edit-post' ).requestMetaBoxUpdates() );
> 45 | expect( await page.$( '.editor-post-publish-button[aria-disabled="true"]' ) ).not.toBeNull();
| ^
46 | } );
47 | } );
48 |
at Object.toBeNull (specs/publish-button.test.js:45:85)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/publish-button.test.js:9:103)
at _next (specs/publish-button.test.js:11:194)
● PostPublishButton › should be disabled when metabox is being saved
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when metabox is being saved
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Unhandled promise rejection JSHandle@error"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
###!!! [Child][MessageChannel] Error: (msgtype=0x790009,name=PRemoteSpellcheckEngine::Msg_SetDictionaryFromList) Channel closing: too late to send/recv, messages will be lost
PASS packages/e2e-tests/specs/navigable-toolbar.test.js (18.703s)
FAIL packages/e2e-tests/specs/adding-inline-tokens.test.js (37.026s)
● adding inline tokens › should insert inline image
TimeoutError: waiting for selector ".media-modal li[aria-label="5ef2e08d-f59b-45ee-82a6-6f6a3a50d77a"]" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee2$ (specs/adding-inline-tokens.test.js:91:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee2$ (specs/adding-inline-tokens.test.js:91:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/adding-inline-tokens.test.js:21:103)
at _next (specs/adding-inline-tokens.test.js:23:194)
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/invalid-block.test.js (7.61s)
FAIL packages/e2e-tests/specs/shortcut-help.test.js (15.124s)
● keyboard shortcut help modal › displays the shortcut help modal when opened using the menu item in the more menu
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● keyboard shortcut help modal › closes the shortcut help modal when the shortcut key (access+h) is pressed again
expect(received).toHaveLength(length)
Expected length: 0
Received length: 1
Received array: [{"_context": [ExecutionContext], "_disposed": false, "_executionContextId": "{b356ddee-9f4a-4bb0-9c99-5487849f98a4}", "_frame": [Frame], "_frameId": "{5c477652-e99a-467c-971b-8134021d7de5}", "_objectId": "{86694961-59d1-40ee-9d79-37355572b333}", "_protocolValue": [Object], "_session": [JugglerSession], "_subtype": "node", "_type": "object"}]
35 | await pressKeyWithModifier( 'access', 'h' );
36 | const shortcutHelpModalElements = await page.$$( '.edit-post-keyboard-shortcut-help' );
> 37 | expect( shortcutHelpModalElements ).toHaveLength( 0 );
| ^
38 | } );
39 | } );
40 |
at Object.toHaveLength (specs/shortcut-help.test.js:37:39)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/shortcut-help.test.js:9:103)
at _next (specs/shortcut-help.test.js:11:194)
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/new-post-default-content.test.js (9.402s)
JavaScript error: http://localhost:8889/wp-includes/js/wp-emoji-release.min.js?ver=5.2, line 4: NS_ERROR_UNEXPECTED:
JavaScript error: http://localhost:8889/wp-admin/load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,underscore,wp-util&ver=5.2, line 2: NS_ERROR_UNEXPECTED:
FAIL packages/e2e-tests/specs/demo.test.js (16.326s)
● new editor state › content should load without making the post dirty
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Unhandled error"],["TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/mock-or-transform.js:38:4)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at process._tickCallback (../../internal/process/next_tick.js:68:7)"]
● new editor state › content should load without making the post dirty
TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/mock-or-transform.js:38:4)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● new editor state › should be immediately saveable
TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/mock-or-transform.js:38:4)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
(node:80419) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'addExpectationResult' of undefined
(node:80419) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 19)
PASS packages/e2e-tests/specs/block-mover.test.js (14.674s)
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/plugins/hooks-api.test.js (17.85s)
JavaScript error: http://localhost:8889/wp-includes/js/wp-emoji-release.min.js?ver=5.2, line 4: NS_ERROR_UNEXPECTED:
JavaScript error: http://localhost:8889/wp-admin/load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,underscore,wp-util&ver=5.2, line 2: NS_ERROR_UNEXPECTED:
[Child 8168, Chrome_ChildThread] WARNING: pipe error (3): Connection reset by peer: file /usr/local/google/home/lushnikov/prog/juggler/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 349
PASS packages/e2e-tests/specs/plugins/deprecated-node-matcher.test.js (19.025s)
PASS packages/e2e-tests/specs/blocks/preformatted.test.js (8.656s)
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
FAIL packages/e2e-tests/specs/plugins/wp-editor-meta-box.test.js (13.521s)
● WP Editor Meta Boxes › Should save the changes
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Unhandled promise rejection JSHandle@error"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
PASS packages/e2e-tests/specs/compatibility-classic-editor.test.js (7.662s)
PASS packages/e2e-tests/specs/plugins/allowed-blocks.test.js (11.272s)
FAIL packages/e2e-tests/specs/plugins/format-api.test.js (10.269s)
● Using Format API › Clicking the control wraps the selected text properly with HTML code
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Using Format API Clicking the control wraps the selected text properly with HTML code 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>First <a href="#test" class="my-plugin-link">paragraph</a></p>
+ <p>First paragraph</p>
<!-- /wp:paragraph -->"
32 | await clickBlockToolbarButton( 'More Rich Text Controls' );
33 | await clickButton( 'Custom Link' );
> 34 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
35 | } );
36 | } );
37 |
at Object.toMatchSnapshot (specs/plugins/format-api.test.js:34:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/plugins/format-api.test.js:9:103)
at _next (specs/plugins/format-api.test.js:11:194)
› 1 snapshot failed.
PASS packages/e2e-tests/specs/convert-block-type.test.js (8.853s)
###!!! [Child][MessageChannel] Error: (msgtype=0x790009,name=PRemoteSpellcheckEngine::Msg_SetDictionaryFromList) Channel closing: too late to send/recv, messages will be lost
PASS packages/e2e-tests/specs/blocks/columns.test.js (7.856s)
PASS packages/e2e-tests/specs/blocks/section.test.js (14.796s)
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
FAIL packages/e2e-tests/specs/post-visibility.test.js (15.704s)
● Post visibility › can be changed when the viewport is large
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["[JavaScript Error: \"downloadable font: rejected by sanitizer (font-family: \"dashicons\" style:normal weight:400 stretch:100 src index:0) source: http://localhost:8889/wp-includes/fonts/dashicons.eot?50db0456fde2a241f005968eede3f987\" {file: \"unknown\" line: 2 column: 11 source: \"@font-face {
font-family: dashicons;
src: url(\"../wp-includes/fonts/dashicons.eot?50db0456fde2a241f005968eede3f987\");
font-style: normal;
font-weight: 400;
}\"}]"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
● Post visibility › can be changed when the viewport is small
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["[JavaScript Error: \"downloadable font: rejected by sanitizer (font-family: \"dashicons\" style:normal weight:400 stretch:100 src index:0) source: http://localhost:8889/wp-includes/fonts/dashicons.eot?50db0456fde2a241f005968eede3f987\" {file: \"unknown\" line: 2 column: 11 source: \"@font-face {
font-family: dashicons;
src: url(\"../wp-includes/fonts/dashicons.eot?50db0456fde2a241f005968eede3f987\");
font-style: normal;
font-weight: 400;
}\"}]"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/blocks/heading.test.js (14.75s)
PASS packages/e2e-tests/specs/blocks/html.test.js (9.824s)
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/preferences.test.js (10.823s)
JavaScript error: resource://gre/modules/BrowserUtils.jsm, line 410: TypeError: docShell is null
###!!! [Child][MessageChannel] Error: (msgtype=0x790001,name=PRemoteSpellcheckEngine::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
PASS packages/e2e-tests/specs/style-variation.test.js (8.204s)
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/popovers.test.js (6.438s)
FAIL packages/e2e-tests/specs/fullscreen-mode.test.js (6.179s)
● Fullscreen Mode › should open the fullscreen mode from the more menu
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
PASS packages/e2e-tests/specs/blocks/media-text.test.js (8.512s)
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/mentions.test.js (7.966s)
PASS packages/e2e-tests/specs/blocks/code.test.js (7.646s)
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
PASS packages/e2e-tests/specs/blocks/separator.test.js (7.348s)
Summary of all failing tests
FAIL specs/links.test.js (207.743s)
● Links › can be created by selecting text and clicking Link
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Links can be created by selecting text and clicking Link 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>This is <a href="https://wordpress.org/gutenberg">Gutenberg</a></p>
+ <p>This is Gutenber<a href="https://wordpress.org/gutenberg">g</a></p>
<!-- /wp:paragraph -->"
47 |
48 | // The link should have been inserted
> 49 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
50 | } );
51 |
52 | it( 'can be created by selecting text and using keyboard shortcuts', async () => {
at Object.toMatchSnapshot (specs/links.test.js:49:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › can be created by selecting text and using keyboard shortcuts
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Links can be created by selecting text and using keyboard shortcuts 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>This is <a href="https://wordpress.org/gutenberg">Gutenberg</a></p>
+ <p>This is Gutenber<a href="https://wordpress.org/gutenberg">g</a></p>
<!-- /wp:paragraph -->"
71 |
72 | // The link should have been inserted
> 73 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
74 | } );
75 |
76 | it( 'can be created without any text selected', async () => {
at Object.toMatchSnapshot (specs/links.test.js:73:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › can be created instantly when a URL is selected
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Links can be created instantly when a URL is selected 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>This is Gutenberg: <a href="https://wordpress.org/gutenberg">https://wordpress.org/gutenberg</a></p>
+ <p>This is Gutenberg: https://wordpress.org/gutenberg</p>
<!-- /wp:paragraph -->"
113 |
114 | // A link with the selected URL as its href should have been inserted
> 115 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
116 | } );
117 |
118 | it( 'is not created when we click away from the link input', async () => {
at Object.toMatchSnapshot (specs/links.test.js:115:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › can be edited
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Links can be edited 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>This is <a href="https://wordpress.org/gutenberg/handbook">Gutenberg</a></p>
+ <p>This is Gutenber<a href="https://wordpress.org/gutenberg/handbook">g</a></p>
<!-- /wp:paragraph -->"
174 |
175 | // The link should have been updated
> 176 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
177 | } );
178 |
179 | it( 'can be removed', async () => {
at Object.toMatchSnapshot (specs/links.test.js:176:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › can be edited with collapsed selection
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Links can be edited with collapsed selection 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>This is <a href="https://wordpress.org/gutenberg/handbook">Gutenberg</a></p>
+ <p>This is Gutenber<a href="https://wordpress.org/gutenberg/handbook">g</a></p>
<!-- /wp:paragraph -->"
245 | await page.keyboard.type( '/handbook' );
246 | await page.click( 'button[aria-label="Apply"]' );
> 247 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
248 | } );
249 |
250 | const createPostWithTitle = async ( titleText ) => {
at Object.toMatchSnapshot (specs/links.test.js:247:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › allows autocomplete suggestions to be navigated with the keyboard
expect(received).toBe(expected) // Object.is equality
Expected: "true"
Received: "false"
336 | await page.keyboard.press( 'ArrowDown' );
337 | const isSelected = await page.evaluate( () => document.querySelector( '.block-editor-url-input__suggestion' ).getAttribute( 'aria-selected' ) );
> 338 | expect( isSelected ).toBe( 'true' );
| ^
339 |
340 | // Expect the link to apply correctly when pressing Enter.
341 | // Note - have avoided using snapshots here since the link url can't be determined ahead of time.
at Object.toBe (specs/links.test.js:338:24)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › allows use of escape key to dismiss the url popover
Protocol error (Page.dispatchKeyEvent): Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsITextInputProcessor.keydown]
dispatchKeyEvent@chrome://juggler/content/content/PageAgent.js:507:7
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
250 | const createPostWithTitle = async ( titleText ) => {
251 | await createNewPost();
> 252 | await page.type( '.editor-post-title__input', titleText );
| ^
253 | await page.click( '.editor-post-publish-panel__toggle' );
254 |
255 | // Disable reason: Wait for the animation to complete, since otherwise the
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Keyboard.down (../../node_modules/puppeteer-firefox/lib/Input.js:46:24)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at ElementHandle.type (../../node_modules/puppeteer-firefox/lib/JSHandle.js:369:38)
-- ASYNC --
at ElementHandle.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at DOMWorld.type (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:340:18)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.type (../../node_modules/puppeteer-firefox/lib/Page.js:594:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at type (specs/links.test.js:252:14)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › can be modified using the keyboard once a link has been set
Protocol error (Page.dispatchKeyEvent): Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsITextInputProcessor.keydown]
dispatchKeyEvent@chrome://juggler/content/content/PageAgent.js:507:7
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
404 | // Create a block with some text and format it as a link.
405 | await clickBlockAppender();
> 406 | await page.keyboard.type( 'This is Gutenberg' );
| ^
407 | await pressKeyWithModifier( 'shift', 'ArrowLeft' );
408 | await pressKeyWithModifier( 'primary', 'K' );
409 | await waitForAutoFocus();
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Keyboard.down (../../node_modules/puppeteer-firefox/lib/Input.js:46:24)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:406:23)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:406:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:406:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › adds an assertive message for screenreader users when an invalid link is set
Protocol error (Page.dispatchKeyEvent): Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsITextInputProcessor.keydown]
dispatchKeyEvent@chrome://juggler/content/content/PageAgent.js:507:7
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
433 | it( 'adds an assertive message for screenreader users when an invalid link is set', async () => {
434 | await clickBlockAppender();
> 435 | await page.keyboard.type( 'This is Gutenberg' );
| ^
436 | await pressKeyWithModifier( 'shift', 'ArrowLeft' );
437 | await pressKeyWithModifier( 'primary', 'K' );
438 | await waitForAutoFocus();
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Keyboard.down (../../node_modules/puppeteer-firefox/lib/Input.js:46:24)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:435:23)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:435:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:435:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
● Links › link popover remains visible after a mouse drag event
Protocol error (Page.dispatchKeyEvent): Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsITextInputProcessor.keydown]
dispatchKeyEvent@chrome://juggler/content/content/PageAgent.js:507:7
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Keyboard.down (../../node_modules/puppeteer-firefox/lib/Input.js:46:24)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at page (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/search-for-block.js:13:8)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at page (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/search-for-block.js:13:8)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at page (../e2e-test-utils/build/@wordpress/e2e-test-utils/src/search-for-block.js:13:8)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Links › should contain a label when it should open in a new tab
Protocol error (Page.dispatchKeyEvent): Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsITextInputProcessor.keydown]
dispatchKeyEvent@chrome://juggler/content/content/PageAgent.js:507:7
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
481 | it( 'should contain a label when it should open in a new tab', async () => {
482 | await clickBlockAppender();
> 483 | await page.keyboard.type( 'This is WordPress' );
| ^
484 | // Select "WordPress".
485 | await pressKeyWithModifier( 'shift', 'ArrowLeft' );
486 | await pressKeyWithModifier( 'primary', 'k' );
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Keyboard.down (../../node_modules/puppeteer-firefox/lib/Input.js:46:24)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:483:23)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.press (../../node_modules/puppeteer-firefox/lib/Input.js:173:16)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:483:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
-- ASYNC --
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Keyboard.type (../../node_modules/puppeteer-firefox/lib/Input.js:159:20)
at Keyboard.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object.type (specs/links.test.js:483:23)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/links.test.js:15:103)
at _next (specs/links.test.js:17:194)
FAIL specs/writing-flow.test.js (178.059s)
● adding blocks › should not delete surrounding space when deleting a word with Alt+Backspace
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "adding blocks should not delete surrounding space when deleting a word with Alt+Backspace 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>alpha gamma</p>
+ <p>alpha beta gamma</p>
<!-- /wp:paragraph -->"
269 | }
270 |
> 271 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
272 |
273 | await page.keyboard.type( 'beta' );
274 |
at Object.toMatchSnapshot (specs/writing-flow.test.js:271:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/writing-flow.test.js:9:103)
at _next (specs/writing-flow.test.js:11:194)
● adding blocks › should not delete surrounding space when deleting a word with Alt+Backspace
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "adding blocks should not delete surrounding space when deleting a word with Alt+Backspace 2".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>alpha beta gamma</p>
+ <p>alpha betabeta gamma</p>
<!-- /wp:paragraph -->"
273 | await page.keyboard.type( 'beta' );
274 |
> 275 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
276 | } );
277 |
278 | it( 'should not delete surrounding space when deleting a selected word', async () => {
at Object.toMatchSnapshot (specs/writing-flow.test.js:275:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/writing-flow.test.js:9:103)
at _next (specs/writing-flow.test.js:11:194)
● adding blocks › should navigate empty paragraph
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "adding blocks should navigate empty paragraph 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>1</p>
+ <p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>2</p>
<!-- /wp:paragraph -->"
309 | await page.keyboard.type( '2' );
310 |
> 311 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
312 | } );
313 |
314 | it( 'should navigate contenteditable with padding', async () => {
at Object.toMatchSnapshot (specs/writing-flow.test.js:311:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/writing-flow.test.js:9:103)
at _next (specs/writing-flow.test.js:11:194)
● adding blocks › should navigate contenteditable with padding
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "adding blocks should navigate contenteditable with padding 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
<p>1</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>2</p>
+ <p></p>
<!-- /wp:paragraph -->"
326 | await page.keyboard.type( '2' );
327 |
> 328 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
329 | } );
330 | } );
331 |
at Object.toMatchSnapshot (specs/writing-flow.test.js:328:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/writing-flow.test.js:9:103)
at _next (specs/writing-flow.test.js:11:194)
FAIL specs/preview.test.js (97.672s)
● Preview › should open a preview window for a new post
TypeError: editorPage.bringToFront is not a function
113 |
114 | // Return to editor to change title.
> 115 | await editorPage.bringToFront();
| ^
116 | await editorPage.type( '.editor-post-title__input', '!' );
117 | await waitForPreviewNavigation( previewPage );
118 |
at Object.bringToFront (specs/preview.test.js:115:20)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/preview.test.js:31:103)
at _next (specs/preview.test.js:33:194)
● Preview › should not revert title during a preview right after a save draft
TypeError: editorPage.bringToFront is not a function
181 |
182 | // Return to editor.
> 183 | await editorPage.bringToFront();
| ^
184 |
185 | // Append bbbbb to the title, and tab away from the title so blur event is triggered.
186 | await editorPage.type( '.editor-post-title__input', 'bbbbb' );
at Object.bringToFront (specs/preview.test.js:183:20)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/preview.test.js:31:103)
at _next (specs/preview.test.js:33:194)
● Preview with Custom Fields enabled › displays edits to the post title and content in the preview
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Preview with Custom Fields enabled › displays edits to the post title and content in the preview
Error: failed to find element matching selector ".entry-content p"
at ElementHandle.$eval (../../node_modules/puppeteer-firefox/lib/JSHandle.js:251:13)
-- ASYNC --
at ElementHandle.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at DOMWorld.$eval (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:94:21)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.$eval (../../node_modules/puppeteer-firefox/lib/Page.js:678:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee6$ (specs/preview.test.js:578:40)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/preview.test.js:31:103)
at _next (specs/preview.test.js:33:194)
● Preview with Custom Fields enabled › displays edits to the post title and content in the preview
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
FAIL specs/change-detection.test.js (181.767s)
● Change detection › Should prompt if save failed
TypeError: page.setOfflineMode is not a function
192 | await page.type( '.editor-post-title__input', 'Hello World' );
193 |
> 194 | await page.setOfflineMode( true );
| ^
195 |
196 | await Promise.all( [
197 | // Keyboard shortcut Ctrl+S save.
at Object.setOfflineMode (specs/change-detection.test.js:194:14)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/change-detection.test.js:19:103)
at _next (specs/change-detection.test.js:21:194)
FAIL specs/reusable-blocks.test.js (167.849s)
● Reusable Blocks › can be created with no title
TimeoutError: waiting for selector ".block-editor-block-toolbar button[aria-label="More options"]" failed: timeout 30000ms exceeded
49 | _context.next = 10;
50 | return page.waitForSelector(BUTTON_SELECTOR);
> 51 |
| ^
52 | case 10:
53 | _context.next = 12;
54 | return page.click(BUTTON_SELECTOR);
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/click-block-toolbar-button.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/click-block-toolbar-button.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Reusable Blocks › can be converted to a regular block
TimeoutError: waiting for XPath "//button[text()="Convert to Regular Block"]" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:359:17)
at Frame.waitForXPath (../../node_modules/puppeteer-firefox/lib/FrameManager.js:355:28)
at Page.waitForXPath (../../node_modules/puppeteer-firefox/lib/Page.js:645:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee6$ (specs/reusable-blocks.test.js:350:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee6$ (specs/reusable-blocks.test.js:350:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/reusable-blocks.test.js:27:103)
at _next (specs/reusable-blocks.test.js:29:194)
● Reusable Blocks › can be deleted
TimeoutError: waiting for XPath "//button[text()="Remove from Reusable Blocks"]" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:359:17)
at Frame.waitForXPath (../../node_modules/puppeteer-firefox/lib/FrameManager.js:355:28)
at Page.waitForXPath (../../node_modules/puppeteer-firefox/lib/Page.js:645:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee7$ (specs/reusable-blocks.test.js:400:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee7$ (specs/reusable-blocks.test.js:400:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/reusable-blocks.test.js:27:103)
at _next (specs/reusable-blocks.test.js:29:194)
● Reusable Blocks › multi-selection reusable block can be converted back to regular blocks
TimeoutError: waiting for XPath "//button[text()="Convert to Regular Block"]" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:359:17)
at Frame.waitForXPath (../../node_modules/puppeteer-firefox/lib/FrameManager.js:355:28)
at Page.waitForXPath (../../node_modules/puppeteer-firefox/lib/Page.js:645:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee9$ (specs/reusable-blocks.test.js:564:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee9$ (specs/reusable-blocks.test.js:564:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/reusable-blocks.test.js:27:103)
at _next (specs/reusable-blocks.test.js:29:194)
FAIL specs/embedding.test.js (71.307s)
● Embedding content › should render embeds in the correct state
TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:30)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12)
at Object.onRequestMatch (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:2)
● Embedding content › should allow the user to convert unembeddable URLs to a paragraph with a link in it
Protocol error (Page.reload): ERROR: failed to dispatch method 'Page.reload' result {
"navigationId": null,
"navigationURL": null
}
Expected "<root>.navigationId" to be |string|; found |object| `null` instead. _dispatch@chrome://juggler/content/protocol/Dispatcher.js:106:15
49 | _context.next = 4;
50 | return page.setViewport(currentDimension);
> 51 |
| ^
52 | case 4:
53 | _context.next = 6;
54 | return (0, _waitForWindowDimensions.waitForWindowDimensions)(currentDimension.width, currentDimension.height);
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Page.reload (../../node_modules/puppeteer-firefox/lib/Page.js:504:63)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.setViewport (../../node_modules/puppeteer-firefox/lib/Page.js:361:18)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/set-browser-viewport.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Embedding content › should allow the user to convert unembeddable URLs to a paragraph with a link in it
No node found for selector: .block-editor-default-block-appender__content
29 | _context.next = 2;
30 | return page.click('.block-editor-default-block-appender__content');
> 31 |
| ^
32 | case 2:
33 | case "end":
34 | return _context.stop();
at assert (../../node_modules/puppeteer-firefox/lib/helper.js:172:11)
at DOMWorld.click (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:272:5)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.click (../../node_modules/puppeteer-firefox/lib/Page.js:578:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/click-block-appender.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/click-block-appender.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Embedding content › should allow the user to convert unembeddable URLs to a paragraph with a link in it
TimeoutError: waiting for XPath "//button[contains(text(), 'Convert to link')]" failed: timeout 30000ms exceeded
32 | _context.next = 2;
33 | return page.waitForXPath("//button[contains(text(), '".concat(buttonText, "')]"));
> 34 |
| ^
35 | case 2:
36 | button = _context.sent;
37 | _context.next = 5;
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:359:17)
at Frame.waitForXPath (../../node_modules/puppeteer-firefox/lib/FrameManager.js:355:28)
at Page.waitForXPath (../../node_modules/puppeteer-firefox/lib/Page.js:645:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/click-button.js:34:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/click-button.js:34:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Embedding content › should retry embeds that could not be embedded with trailing slashes, without the trailing slashes
TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:30)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12)
at Object.onRequestMatch (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:2)
● Embedding content › should allow the user to try embedding a failed URL again
Protocol error (Page.reload): ERROR: failed to dispatch method 'Page.reload' result {
"navigationId": null,
"navigationURL": null
}
Expected "<root>.navigationId" to be |string|; found |object| `null` instead. _dispatch@chrome://juggler/content/protocol/Dispatcher.js:106:15
49 | _context.next = 4;
50 | return page.setViewport(currentDimension);
> 51 |
| ^
52 | case 4:
53 | _context.next = 6;
54 | return (0, _waitForWindowDimensions.waitForWindowDimensions)(currentDimension.width, currentDimension.height);
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Page.reload (../../node_modules/puppeteer-firefox/lib/Page.js:504:63)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.setViewport (../../node_modules/puppeteer-firefox/lib/Page.js:361:18)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/set-browser-viewport.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Embedding content › should allow the user to try embedding a failed URL again
TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:30)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12)
at Object.onRequestMatch (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/create-json-response.js:13:2)
● Embedding content › should switch to the WordPress block correctly
Protocol error (Page.reload): ERROR: failed to dispatch method 'Page.reload' result {
"navigationId": null,
"navigationURL": null
}
Expected "<root>.navigationId" to be |string|; found |object| `null` instead. _dispatch@chrome://juggler/content/protocol/Dispatcher.js:106:15
49 | _context.next = 4;
50 | return page.setViewport(currentDimension);
> 51 |
| ^
52 | case 4:
53 | _context.next = 6;
54 | return (0, _waitForWindowDimensions.waitForWindowDimensions)(currentDimension.width, currentDimension.height);
at Promise (../../node_modules/puppeteer-firefox/lib/Connection.js:183:56)
at JugglerSession.send (../../node_modules/puppeteer-firefox/lib/Connection.js:182:12)
at Page.reload (../../node_modules/puppeteer-firefox/lib/Page.js:504:63)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.setViewport (../../node_modules/puppeteer-firefox/lib/Page.js:361:18)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/set-browser-viewport.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
FAIL specs/splitting-merging.test.js (71.654s)
● splitting and merging blocks › should split and merge paragraph blocks using Enter and Backspace
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "splitting and merging blocks should split and merge paragraph blocks using Enter and Backspace 3".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p><strong>First</strong></p>
+ <p>First<strong>Secon</strong></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>BeforeSecond:Second</p>
+ <p>BeforeSecond:d</p>
<!-- /wp:paragraph -->"
51 | await page.keyboard.type( 'BeforeSecond:' );
52 |
> 53 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
54 | } );
55 |
56 | it( 'should merge into inline boundary position', async () => {
at Object.toMatchSnapshot (specs/splitting-merging.test.js:53:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/splitting-merging.test.js:9:103)
at _next (specs/splitting-merging.test.js:11:194)
FAIL specs/multi-block-selection.test.js (41.5s)
● Multi-block selection › should only trigger multi-selection when at the end
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Multi-block selection should only trigger multi-selection when at the end 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>1.</p>
+ <p>14.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->"
164 | await page.keyboard.press( 'Backspace' );
165 |
> 166 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
167 | } );
168 |
169 | it( 'should use selection direction to determine vertical edge', async () => {
at Object.toMatchSnapshot (specs/multi-block-selection.test.js:166:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/multi-block-selection.test.js:15:103)
at _next (specs/multi-block-selection.test.js:17:194)
FAIL specs/nux.test.js (24.544s)
● New User Experience (NUX) › should enable tips when the "Enable tips" option is toggled on
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
FAIL specs/adding-blocks.test.js (14.004s)
● adding blocks › Should insert content using the placeholder and the regular inserter
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "adding blocks Should insert content using the placeholder and the regular inserter 3".
- Snapshot
+ Received
@@ -9,13 +9,11 @@
<!-- wp:quote -->
<blockquote class="wp-block-quote"><p>Quote block</p></blockquote>
<!-- /wp:quote -->
<!-- wp:preformatted -->
- <pre class="wp-block-preformatted">Pre text
-
- Foo</pre>
+ <pre class="wp-block-preformatted">Pre bl textoo</pre>
<!-- /wp:preformatted -->
<!-- wp:shortcode -->
[myshortcode]With multiple
lines preserved[/myshortcode]
103 | await codeEditorButton.click( 'button' );
104 |
> 105 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
106 | } );
107 |
108 | // Check for regression of https://github.com/WordPress/gutenberg/issues/9583
at Object.toMatchSnapshot (specs/adding-blocks.test.js:105:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/adding-blocks.test.js:15:103)
at _next (specs/adding-blocks.test.js:17:194)
FAIL specs/plugins/annotations.test.js (19.267s)
● Using Plugins API › Annotations › Allows a block to be annotated
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Using Plugins API › Annotations › Keeps the cursor in the same location when applying annotation
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Using Plugins API › Annotations › Moves when typing before it
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Using Plugins API › Annotations › Grows when typing inside it
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
FAIL specs/block-deletion.test.js (43.164s)
● block deletion - › deleting the third block using the Remove Block menu item › results in two remaining blocks and positions the caret at the end of the second block
Element .block-editor-block-settings-menu__toggle not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● deleting all blocks › results in the default block getting selected
Element .block-editor-block-settings-menu__toggle not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
FAIL specs/sidebar.test.js (10.535s)
● Sidebar › should have sidebar visible at the start with document sidebar active on desktop
@debugger eval code:4:17
● Sidebar › should have the sidebar closed by default on mobile
Evaluation failed: document.body is null
@debugger eval code:2:7
12 | function observeFocusLoss() {
13 | page.on('load', function () {
> 14 | page.evaluate(function () {
| ^
15 | document.body.addEventListener('focusout', function (event) {
16 | if (!event.relatedTarget) {
17 | throw new Error('Unexpected focus loss');
at createHandle (../../node_modules/puppeteer-firefox/lib/JSHandle.js:407:13)
at ExecutionContext.evaluateHandle (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:75:12)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
● Sidebar › should have the sidebar closed by default on mobile
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["[JavaScript Error: \"Error: Unexpected focus loss\" {file: \"debugger eval code\" line: 4}]
@debugger eval code:4:17
"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
● Sidebar › should close the sidebar when resizing from desktop to mobile
Execution context was destroyed, most likely because of a navigation.
29 | _context.next = 2;
30 | return page.evaluate(function () {
> 31 | return window.localStorage.clear();
| ^
32 | });
33 |
34 | case 2:
at rewriteError (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:79:15)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/clear-local-storage.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/clear-local-storage.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should close the sidebar when resizing from desktop to mobile
@debugger eval code:4:17
● Sidebar › should reopen sidebar the sidebar when resizing from mobile to desktop if the sidebar was closed automatically
Execution context was destroyed, most likely because of a navigation.
29 | _context.next = 2;
30 | return page.evaluate(function () {
> 31 | return window.localStorage.clear();
| ^
32 | });
33 |
34 | case 2:
at rewriteError (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:79:15)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/clear-local-storage.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/clear-local-storage.js:31:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should reopen sidebar the sidebar when resizing from mobile to desktop if the sidebar was closed automatically
Execution context was destroyed, most likely because of a navigation.
12 | function observeFocusLoss() {
13 | page.on('load', function () {
> 14 | page.evaluate(function () {
| ^
15 | document.body.addEventListener('focusout', function (event) {
16 | if (!event.relatedTarget) {
17 | throw new Error('Unexpected focus loss');
at rewriteError (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:79:15)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
● Sidebar › should reopen sidebar the sidebar when resizing from mobile to desktop if the sidebar was closed automatically
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["[JavaScript Error: \"Error: Unexpected focus loss\" {file: \"debugger eval code\" line: 4}]
@debugger eval code:4:17
"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
● Sidebar › should preserve tab order while changing active tab
Navigation to http://localhost:8889/wp-admin/post-new.php failed: NS_BINDING_ABORTED
48 | _context.next = 2;
49 | return page.goto((0, _createUrl.createURL)((0, _path.join)('wp-admin', adminPath), query));
> 50 |
| ^
51 | case 2:
52 | if (!(0, _isCurrentUrl.isCurrentURL)('wp-login.php')) {
53 | _context.next = 7;
at NavigationWatchdog._onNavigationAborted (../../node_modules/puppeteer-firefox/lib/NavigationWatchdog.js:107:29)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.goto (../../node_modules/puppeteer-firefox/lib/Page.js:425:43)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should preserve tab order while changing active tab
Evaluation failed: document.body is null
@debugger eval code:2:7
12 | function observeFocusLoss() {
13 | page.on('load', function () {
> 14 | page.evaluate(function () {
| ^
15 | document.body.addEventListener('focusout', function (event) {
16 | if (!event.relatedTarget) {
17 | throw new Error('Unexpected focus loss');
at createHandle (../../node_modules/puppeteer-firefox/lib/JSHandle.js:407:13)
at ExecutionContext.evaluateHandle (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:75:12)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.<anonymous> (../e2e-test-utils/build/observe-focus-loss.js:14:10)
at FrameManager.Page._eventListeners.helper.addEventListener (../../node_modules/puppeteer-firefox/lib/Page.js:64:88)
at FrameManager._onEventFired (../../node_modules/puppeteer-firefox/lib/FrameManager.js:122:14)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
● Sidebar › should be possible to programmatically remove Document Settings panels
Evaluation failed: wp is not defined
@debugger eval code:3:15
64 | _context.next = 6;
65 | return page.evaluate(function (_enableTips) {
> 66 | var action = _enableTips ? 'enableTips' : 'disableTips';
| ^
67 | wp.data.dispatch('core/nux')[action]();
68 | }, enableTips);
69 |
at createHandle (../../node_modules/puppeteer-firefox/lib/JSHandle.js:407:13)
at ExecutionContext.evaluateHandle (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:75:12)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ExecutionContext.evaluate (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:90:33)
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at DOMWorld.evaluate (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:59:20)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.evaluate (../../node_modules/puppeteer-firefox/lib/Page.js:554:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/create-new-post.js:66:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Sidebar › should be possible to programmatically remove Document Settings panels
Navigation to http://localhost:8889/wp-admin/post-new.php failed: NS_BINDING_ABORTED
49 | _context.next = 4;
50 | return page.setViewport(currentDimension);
> 51 |
| ^
52 | case 4:
53 | _context.next = 6;
54 | return (0, _waitForWindowDimensions.waitForWindowDimensions)(currentDimension.width, currentDimension.height);
at NavigationWatchdog._onNavigationAborted (../../node_modules/puppeteer-firefox/lib/NavigationWatchdog.js:107:29)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.setViewport (../../node_modules/puppeteer-firefox/lib/Page.js:361:18)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/set-browser-viewport.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should be possible to programmatically remove Document Settings panels
Navigation to http://localhost:8889/wp-admin/post-new.php failed: NS_BINDING_ABORTED
48 | _context.next = 2;
49 | return page.goto((0, _createUrl.createURL)((0, _path.join)('wp-admin', adminPath), query));
> 50 |
| ^
51 | case 2:
52 | if (!(0, _isCurrentUrl.isCurrentURL)('wp-login.php')) {
53 | _context.next = 7;
at NavigationWatchdog._onNavigationAborted (../../node_modules/puppeteer-firefox/lib/NavigationWatchdog.js:107:29)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.goto (../../node_modules/puppeteer-firefox/lib/Page.js:425:43)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should be possible to programmatically remove Document Settings panels
Navigation to http://localhost:8889/wp-admin/post-new.php failed: NS_BINDING_ABORTED
48 | _context.next = 2;
49 | return page.goto((0, _createUrl.createURL)((0, _path.join)('wp-admin', adminPath), query));
> 50 |
| ^
51 | case 2:
52 | if (!(0, _isCurrentUrl.isCurrentURL)('wp-login.php')) {
53 | _context.next = 7;
at NavigationWatchdog._onNavigationAborted (../../node_modules/puppeteer-firefox/lib/NavigationWatchdog.js:107:29)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
-- ASYNC --
at Frame.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.goto (../../node_modules/puppeteer-firefox/lib/Page.js:425:43)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/visit-admin-page.js:50:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
● Sidebar › should be possible to programmatically remove Document Settings panels
Navigation to http://localhost:8889/wp-admin/post-new.php failed: NS_BINDING_ABORTED
49 | _context.next = 4;
50 | return page.setViewport(currentDimension);
> 51 |
| ^
52 | case 4:
53 | _context.next = 6;
54 | return (0, _waitForWindowDimensions.waitForWindowDimensions)(currentDimension.width, currentDimension.height);
at NavigationWatchdog._onNavigationAborted (../../node_modules/puppeteer-firefox/lib/NavigationWatchdog.js:107:29)
at JugglerSession._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:200:12)
at Connection._onMessage (../../node_modules/puppeteer-firefox/lib/Connection.js:112:17)
at DispatchQueue._dispatch (../../node_modules/puppeteer-firefox/lib/WebSocketTransport.js:98:33)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Page.setViewport (../../node_modules/puppeteer-firefox/lib/Page.js:361:18)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/set-browser-viewport.js:51:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
FAIL specs/block-transforms.test.js (2169.86s)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__image-alt-no-align into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__image-fill-no-focal-point-selected into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__image-fill-with-focal-point-selected into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__is-stacked-on-mobile into the Video block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Video"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__vertical-align-bottom into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Media & Text in fixture core__media-text__video into the Video block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Video"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Code in fixture core__code into the Preformatted block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Preformatted"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Cover in fixture core__cover into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Cover in fixture core__cover__video into the Video block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Video"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Cover in fixture core__cover__video-overlay into the Video block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Video"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Gallery in fixture core__gallery into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Gallery in fixture core__gallery__columns into the Image block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Image"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Heading in fixture core__heading__h2-em into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Heading in fixture core__heading__h2-em into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Heading in fixture core__heading__h2 into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Heading in fixture core__heading__h2 into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__attachment-link into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__attachment-link into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__attachment-link into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__attachment-link into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__center-caption into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__center-caption into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__center-caption into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__center-caption into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-class into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-class into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-class into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-class into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-rel into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-rel into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-rel into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__custom-link-rel into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__media-link into the Gallery block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Gallery"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__media-link into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__media-link into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Image in fixture core__image__media-link into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block List in fixture core__list__ul into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block List in fixture core__list__ul into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Paragraph in fixture core__paragraph__align-right into the Heading block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Heading"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Paragraph in fixture core__paragraph__align-right into the List block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="List"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Paragraph in fixture core__paragraph__align-right into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Paragraph in fixture core__paragraph__align-right into the Preformatted block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Preformatted"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Paragraph in fixture core__paragraph__align-right into the Verse block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Verse"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Preformatted in fixture core__preformatted into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Pullquote in fixture core__pullquote into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Pullquote in fixture core__pullquote__multi-paragraph into the Quote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Quote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Quote in fixture core__quote__style-1 into the List block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="List"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Quote in fixture core__quote__style-1 into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Quote in fixture core__quote__style-1 into the Heading block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Heading"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Quote in fixture core__quote__style-1 into the Pullquote block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Pullquote"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Verse in fixture core__verse into the Paragraph block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Paragraph"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Video in fixture core__video into the Cover block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Cover"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Video in fixture core__video into the File block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="File"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● Block transforms › correctly transform › block Video in fixture core__video into the Media & Text block
TimeoutError: waiting for selector ".block-editor-block-types-list__item[aria-label="Media & Text"]" failed: timeout 30000ms exceeded
47 | _context.next = 8;
48 | return page.waitForSelector(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
> 49 |
| ^
50 | case 8:
51 | _context.next = 10;
52 | return page.click(".block-editor-block-types-list__item[aria-label=\"".concat(name, "\"]"));
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at _callee$ (../e2e-test-utils/build/transform-block-to.js:49:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
FAIL specs/plugins/meta-boxes.test.js (39.019s)
● Meta boxes › Should render dynamic blocks when the meta box uses the excerpt for front end rendering
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Unhandled promise rejection JSHandle@error"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
FAIL specs/publishing.test.js (38.606s)
● Publishing › a post with pre-publish checks disabled › should publish the post without opening the post-publish sidebar.
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a post with pre-publish checks disabled › should publish the post without opening the post-publish sidebar.
expect(received).toBeNull()
Received: {"_context": {"_executionContextId": "{a1f8d60e-4829-41d1-9406-706d6dc9ab61}", "_frame": [Frame], "_session": [JugglerSession]}, "_disposed": false, "_executionContextId": "{a1f8d60e-4829-41d1-9406-706d6dc9ab61}", "_frame": {"_DOMContentLoadedFired": false, "_children": [Set], "_detached": false, "_firedEvents": [Set], "_frameId": "{fc3e8896-a62b-4638-834d-f52bb5488f7c}", "_frameManager": [FrameManager], "_lastCommittedNavigationId": "{e359804a-c21c-48b3-80db-b84df0ee7ddc}", "_loadFired": false, "_mainWorld": [DOMWorld], "_name": "", "_networkManager": [NetworkManager], "_page": [Page], "_parentFrame": null, "_session": [JugglerSession], "_timeoutSettings": [TimeoutSettings], "_url": "http://localhost:8889/wp-admin/post-new.php"}, "_frameId": "{fc3e8896-a62b-4638-834d-f52bb5488f7c}", "_objectId": "{68ecddaf-1c2f-461a-a717-b0562c19c389}", "_protocolValue": {"objectId": "{68ecddaf-1c2f-461a-a717-b0562c19c389}", "unserializableValue": undefined, "value": undefined}, "_session": {"_callbacks": [Map], "_connection": [Connection], "_events": [Object], "_eventsCount": 15, "_maxListeners": undefined, "_sessionId": "{8dd7e176-451b-4b25-aff5-9afd2f6a9496}", "_targetType": "page"}, "_subtype": "node", "_type": "object"}
68 |
69 | // The "Publish" button should be shown instead of the "Publish..." toggle
> 70 | expect( await page.$( '.editor-post-publish-panel__toggle' ) ).toBeNull();
| ^
71 | expect( await page.$( '.editor-post-publish-button' ) ).not.toBeNull();
72 |
73 | await publishPostWithPrePublishChecksDisabled();
at Object.toBeNull (specs/publishing.test.js:70:68)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/publishing.test.js:11:103)
at _next (specs/publishing.test.js:13:194)
● Publishing › a post with pre-publish checks disabled › should publish the post without opening the post-publish sidebar.
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a page with pre-publish checks disabled › should publish the page without opening the post-publish sidebar.
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a page with pre-publish checks disabled › should publish the page without opening the post-publish sidebar.
expect(received).toBeNull()
Received: {"_context": {"_executionContextId": "{fc1f96e9-632b-4071-8621-37658e3686fe}", "_frame": [Frame], "_session": [JugglerSession]}, "_disposed": false, "_executionContextId": "{fc1f96e9-632b-4071-8621-37658e3686fe}", "_frame": {"_DOMContentLoadedFired": false, "_children": [Set], "_detached": false, "_firedEvents": [Set], "_frameId": "{fc3e8896-a62b-4638-834d-f52bb5488f7c}", "_frameManager": [FrameManager], "_lastCommittedNavigationId": "{cfcad289-7e5a-426f-8a1d-26744ce8fd1c}", "_loadFired": false, "_mainWorld": [DOMWorld], "_name": "", "_networkManager": [NetworkManager], "_page": [Page], "_parentFrame": null, "_session": [JugglerSession], "_timeoutSettings": [TimeoutSettings], "_url": "http://localhost:8889/wp-admin/post-new.php"}, "_frameId": "{fc3e8896-a62b-4638-834d-f52bb5488f7c}", "_objectId": "{77674983-96a9-4d4c-a8e8-ae6230d07ec9}", "_protocolValue": {"objectId": "{77674983-96a9-4d4c-a8e8-ae6230d07ec9}", "unserializableValue": undefined, "value": undefined}, "_session": {"_callbacks": [Map], "_connection": [Connection], "_events": [Object], "_eventsCount": 15, "_maxListeners": undefined, "_sessionId": "{8dd7e176-451b-4b25-aff5-9afd2f6a9496}", "_targetType": "page"}, "_subtype": "node", "_type": "object"}
68 |
69 | // The "Publish" button should be shown instead of the "Publish..." toggle
> 70 | expect( await page.$( '.editor-post-publish-panel__toggle' ) ).toBeNull();
| ^
71 | expect( await page.$( '.editor-post-publish-button' ) ).not.toBeNull();
72 |
73 | await publishPostWithPrePublishChecksDisabled();
at Object.toBeNull (specs/publishing.test.js:70:68)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/publishing.test.js:11:103)
at _next (specs/publishing.test.js:13:194)
● Publishing › a page with pre-publish checks disabled › should publish the page without opening the post-publish sidebar.
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a post in small viewports › should ignore the pre-publish checks and show the Publish... toggle instead of the Publish button
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a post in small viewports › should ignore the pre-publish checks and show the Publish... toggle instead of the Publish button
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a page in small viewports › should ignore the pre-publish checks and show the Publish... toggle instead of the Publish button
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Publishing › a page in small viewports › should ignore the pre-publish checks and show the Publish... toggle instead of the Publish button
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
FAIL specs/plugins/plugins-api.test.js (33.03s)
● Using Plugins API › Sidebar › Should open plugins sidebar using More Menu item and render content
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● Using Plugins API › Sidebar › Should close plugins sidebar using More Menu item
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
FAIL specs/blocks/classic.test.js (45.209s)
● Classic › should insert media
TimeoutError: waiting for selector "div[aria-label="Add Media"]" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee3$ (specs/blocks/classic.test.js:116:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee3$ (specs/blocks/classic.test.js:116:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/blocks/classic.test.js:21:103)
at _next (specs/blocks/classic.test.js:23:194)
FAIL specs/manage-reusable-blocks.test.js (33.334s)
● Managing reusable blocks › Should import reusable blocks
TimeoutError: waiting for selector ".notice-success" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee2$ (specs/manage-reusable-blocks.test.js:118:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee2$ (specs/manage-reusable-blocks.test.js:118:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/manage-reusable-blocks.test.js:13:103)
at _next (specs/manage-reusable-blocks.test.js:15:194)
FAIL specs/plugins/meta-attribute-block.test.js (21.545s)
● Block with a meta attribute › Should use the same value in all the blocks
Execution context was destroyed, most likely because of a navigation.
at rewriteError (../../node_modules/puppeteer-firefox/lib/ExecutionContext.js:79:15)
-- ASYNC --
at ExecutionContext.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at ElementHandle.getProperty (../../node_modules/puppeteer-firefox/lib/JSHandle.js:47:46)
at ElementHandle.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at _callee5$ (specs/plugins/meta-attribute-block.test.js:170:38)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/plugins/meta-attribute-block.test.js:11:103)
at _next (specs/plugins/meta-attribute-block.test.js:13:194)
FAIL specs/publish-button.test.js (17.834s)
● PostPublishButton › should be disabled when post is not saveable
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when post is not saveable
expect(received).not.toBeNull()
Received: null
27 | it( 'should be disabled when post is not saveable', async () => {
28 | const publishButton = await page.$( '.editor-post-publish-button[aria-disabled="true"]' );
> 29 | expect( publishButton ).not.toBeNull();
| ^
30 | } );
31 |
32 | it( 'should be disabled when post is being saved', async () => {
at Object.toBeNull (specs/publish-button.test.js:29:31)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/publish-button.test.js:9:103)
at _next (specs/publish-button.test.js:11:194)
● PostPublishButton › should be disabled when post is not saveable
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when post is being saved
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when post is being saved
expect(received).not.toBeNull()
Received: null
35 |
36 | await page.click( '.editor-post-save-draft' );
> 37 | expect( await page.$( '.editor-post-publish-button[aria-disabled="true"]' ) ).not.toBeNull();
| ^
38 | } );
39 |
40 | it( 'should be disabled when metabox is being saved', async () => {
at Object.toBeNull (specs/publish-button.test.js:37:85)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/publish-button.test.js:9:103)
at _next (specs/publish-button.test.js:11:194)
● PostPublishButton › should be disabled when post is being saved
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when metabox is being saved
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when metabox is being saved
expect(received).not.toBeNull()
Received: null
43 |
44 | await page.evaluate( () => window.wp.data.dispatch( 'core/edit-post' ).requestMetaBoxUpdates() );
> 45 | expect( await page.$( '.editor-post-publish-button[aria-disabled="true"]' ) ).not.toBeNull();
| ^
46 | } );
47 | } );
48 |
at Object.toBeNull (specs/publish-button.test.js:45:85)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/publish-button.test.js:9:103)
at _next (specs/publish-button.test.js:11:194)
● PostPublishButton › should be disabled when metabox is being saved
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● PostPublishButton › should be disabled when metabox is being saved
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Unhandled promise rejection JSHandle@error"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
FAIL specs/adding-inline-tokens.test.js (37.026s)
● adding inline tokens › should insert inline image
TimeoutError: waiting for selector ".media-modal li[aria-label="5ef2e08d-f59b-45ee-82a6-6f6a3a50d77a"]" failed: timeout 30000ms exceeded
at new WaitTask (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:470:28)
at DOMWorld._waitForSelectorOrXPath (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:396:22)
at DOMWorld.waitForSelector (../../node_modules/puppeteer-firefox/lib/DOMWorld.js:350:17)
at Frame.waitForSelector (../../node_modules/puppeteer-firefox/lib/FrameManager.js:346:28)
at Page.waitForSelector (../../node_modules/puppeteer-firefox/lib/Page.js:636:49)
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:32:23)
at Object._callee2$ (specs/adding-inline-tokens.test.js:91:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
-- ASYNC --
at Page.<anonymous> (../../node_modules/puppeteer-firefox/lib/helper.js:31:27)
at Object._callee2$ (specs/adding-inline-tokens.test.js:91:25)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/adding-inline-tokens.test.js:21:103)
at _next (specs/adding-inline-tokens.test.js:23:194)
FAIL specs/shortcut-help.test.js (15.124s)
● keyboard shortcut help modal › displays the shortcut help modal when opened using the menu item in the more menu
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
● keyboard shortcut help modal › closes the shortcut help modal when the shortcut key (access+h) is pressed again
expect(received).toHaveLength(length)
Expected length: 0
Received length: 1
Received array: [{"_context": [ExecutionContext], "_disposed": false, "_executionContextId": "{b356ddee-9f4a-4bb0-9c99-5487849f98a4}", "_frame": [Frame], "_frameId": "{5c477652-e99a-467c-971b-8134021d7de5}", "_objectId": "{86694961-59d1-40ee-9d79-37355572b333}", "_protocolValue": [Object], "_session": [JugglerSession], "_subtype": "node", "_type": "object"}]
35 | await pressKeyWithModifier( 'access', 'h' );
36 | const shortcutHelpModalElements = await page.$$( '.edit-post-keyboard-shortcut-help' );
> 37 | expect( shortcutHelpModalElements ).toHaveLength( 0 );
| ^
38 | } );
39 | } );
40 |
at Object.toHaveLength (specs/shortcut-help.test.js:37:39)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/shortcut-help.test.js:9:103)
at _next (specs/shortcut-help.test.js:11:194)
FAIL specs/demo.test.js (16.326s)
● new editor state › content should load without making the post dirty
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Unhandled error"],["TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/mock-or-transform.js:38:4)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at process._tickCallback (../../internal/process/next_tick.js:68:7)"]
● new editor state › content should load without making the post dirty
TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/mock-or-transform.js:38:4)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
● new editor state › should be immediately saveable
TypeError: request.respond is not a function
at Object.request (../e2e-test-utils/build/mocks/@wordpress/e2e-test-utils/src/mocks/mock-or-transform.js:38:4)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
FAIL specs/plugins/wp-editor-meta-box.test.js (13.521s)
● WP Editor Meta Boxes › Should save the changes
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Unhandled promise rejection JSHandle@error"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
FAIL specs/plugins/format-api.test.js (10.269s)
● Using Format API › Clicking the control wraps the selected text properly with HTML code
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "Using Format API Clicking the control wraps the selected text properly with HTML code 1".
- Snapshot
+ Received
"<!-- wp:paragraph -->
- <p>First <a href="#test" class="my-plugin-link">paragraph</a></p>
+ <p>First paragraph</p>
<!-- /wp:paragraph -->"
32 | await clickBlockToolbarButton( 'More Rich Text Controls' );
33 | await clickButton( 'Custom Link' );
> 34 | expect( await getEditedPostContent() ).toMatchSnapshot();
| ^
35 | } );
36 | } );
37 |
at Object.toMatchSnapshot (specs/plugins/format-api.test.js:34:42)
at tryCatch (../../node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (../../node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (../../node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (specs/plugins/format-api.test.js:9:103)
at _next (specs/plugins/format-api.test.js:11:194)
FAIL specs/post-visibility.test.js (15.704s)
● Post visibility › can be changed when the viewport is large
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["[JavaScript Error: \"downloadable font: rejected by sanitizer (font-family: \"dashicons\" style:normal weight:400 stretch:100 src index:0) source: http://localhost:8889/wp-includes/fonts/dashicons.eot?50db0456fde2a241f005968eede3f987\" {file: \"unknown\" line: 2 column: 11 source: \"@font-face {
font-family: dashicons;
src: url(\"../wp-includes/fonts/dashicons.eot?50db0456fde2a241f005968eede3f987\");
font-style: normal;
font-weight: 400;
}\"}]"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
● Post visibility › can be changed when the viewport is small
expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["[JavaScript Error: \"downloadable font: rejected by sanitizer (font-family: \"dashicons\" style:normal weight:400 stretch:100 src index:0) source: http://localhost:8889/wp-includes/fonts/dashicons.eot?50db0456fde2a241f005968eede3f987\" {file: \"unknown\" line: 2 column: 11 source: \"@font-face {
font-family: dashicons;
src: url(\"../wp-includes/fonts/dashicons.eot?50db0456fde2a241f005968eede3f987\");
font-style: normal;
font-weight: 400;
}\"}]"]
at Object.expect (../jest-console/build/@wordpress/jest-console/src/index.js:34:4)
FAIL specs/fullscreen-mode.test.js (6.179s)
● Fullscreen Mode › should open the fullscreen mode from the more menu
Element .edit-post-more-menu [aria-label="Show more tools & options"] not found
Protocol error (Runtime.callFunction): can't convert null to object
_toDebugger@chrome://juggler/content/content/RuntimeAgent.js:295:30
evaluateFunction/args<@chrome://juggler/content/content/RuntimeAgent.js:196:25
evaluateFunction@chrome://juggler/content/content/RuntimeAgent.js:185:12
callFunction@chrome://juggler/content/content/RuntimeAgent.js:126:24
_onMessage@chrome://juggler/content/content/ContentSession.js:47:28
_onMessage@chrome://juggler/content/protocol/Dispatcher.js:239:16
receiveMessage@chrome://juggler/content/protocol/Dispatcher.js:198:36
Snapshot Summary
› 13 snapshots failed from 6 test suites. Inspect your code changes or re-run jest with `-u` to update them.
Test Suites: 28 failed, 42 passed, 70 total
Tests: 129 failed, 4 skipped, 247 passed, 380 total
Snapshots: 13 failed, 169 passed, 182 total
Time: 4893.385s
Ran all test suites matching /packages\/e2e-tests\/specs\//i.
JavaScript error: resource://gre/modules/ContentPrefServiceParent.jsm, line 150: NS_ERROR_NOT_INITIALIZED:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment