Lazy load block edit functions #98655
Annotations
11 errors, 1 warning, and 1 notice
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L214
1) [chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=navigation').locator('role=button[name="example.com submenu "i]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=navigation').locator('role=button[name="example.com submenu "i]')
212 | `role=navigation >> role=button[name="example.com submenu "i]`
213 | )
> 214 | ).toBeVisible();
| ^
215 | } );
216 |
217 | test( 'submenu converts to link automatically', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:214:6
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/insert-block.ts#L29
1) [chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Execution context was destroyed, most likely because of a navigation.
at ../../../packages/e2e-test-utils-playwright/src/editor/insert-block.ts:29
27 | );
28 |
> 29 | await this.page.evaluate(
| ^
30 | async ( [ _blockRepresentation, _clientId ] ) => {
31 | function recursiveCreateBlock( {
32 | name,
at Editor.insertBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/insert-block.ts:29:18)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:192:4
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L214
1) [chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=navigation').locator('role=button[name="example.com submenu "i]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=navigation').locator('role=button[name="example.com submenu "i]')
212 | `role=navigation >> role=button[name="example.com submenu "i]`
213 | )
> 214 | ).toBeVisible();
| ^
215 | } );
216 |
217 | test( 'submenu converts to link automatically', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:214:6
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L353
2) [chromium] › editor/blocks/paragraph.spec.js:295:4 › Paragraph › Empty paragraph › Dragging positions › Only the second block is an empty paragraph block
Error: expect(received).toBeTruthy()
Received: false
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
351 | )
352 | )
> 353 | .toBeTruthy();
| ^
354 | }
355 |
356 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:353:8
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L353
2) [chromium] › editor/blocks/paragraph.spec.js:295:4 › Paragraph › Empty paragraph › Dragging positions › Only the second block is an empty paragraph block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
351 | )
352 | )
> 353 | .toBeTruthy();
| ^
354 | }
355 |
356 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:353:8
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L353
2) [chromium] › editor/blocks/paragraph.spec.js:295:4 › Paragraph › Empty paragraph › Dragging positions › Only the second block is an empty paragraph block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
351 | )
352 | )
> 353 | .toBeTruthy();
| ^
354 | }
355 |
356 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:353:8
|
Run the tests:
test/e2e/specs/editor/blocks/preformatted.spec.js#L17
3) [chromium] › editor/blocks/preformatted.spec.js:11:2 › Preformatted › should preserve character newlines
Error: Snapshot comparison failed:
<!-- wp:html -->
<pre>1
2</pre>paragraph -->
<p>2</pre></p>
<!-- /wp:paragraph -->
<!-- /wp:html /-->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Preformatted-should-preserve-character-newlines-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-preformatted-Preformatted-should-preserve-character-newlines-chromium/Preformatted-should-preserve-character-newlines-1-actual.txt
15 | await page.keyboard.type( '2</pre>' );
16 |
> 17 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
18 |
19 | await editor.clickBlockOptionsMenuItem( 'Convert to Blocks' );
20 | // Once it's edited, it should be saved as BR tags.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/preformatted.spec.js:17:49
|
Run the tests:
test/e2e/specs/editor/blocks/preformatted.spec.js#L17
3) [chromium] › editor/blocks/preformatted.spec.js:11:2 › Preformatted › should preserve character newlines
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:html -->
<pre>1
2</pre>paragraph -->
<p>2</pre></p>
<!-- /wp:paragraph -->
<!-- /wp:html /-->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Preformatted-should-preserve-character-newlines-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-preformatted-Preformatted-should-preserve-character-newlines-chromium-retry1/Preformatted-should-preserve-character-newlines-1-actual.txt
15 | await page.keyboard.type( '2</pre>' );
16 |
> 17 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
18 |
19 | await editor.clickBlockOptionsMenuItem( 'Convert to Blocks' );
20 | // Once it's edited, it should be saved as BR tags.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/preformatted.spec.js:17:49
|
Run the tests:
test/e2e/specs/editor/blocks/preformatted.spec.js#L17
3) [chromium] › editor/blocks/preformatted.spec.js:11:2 › Preformatted › should preserve character newlines
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:html -->
<pre>1
2</pre>paragraph -->
<p>2</pre></p>
<!-- /wp:paragraph -->
<!-- /wp:html /-->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Preformatted-should-preserve-character-newlines-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-preformatted-Preformatted-should-preserve-character-newlines-chromium-retry2/Preformatted-should-preserve-character-newlines-1-actual.txt
15 | await page.keyboard.type( '2</pre>' );
16 |
> 17 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
18 |
19 | await editor.clickBlockOptionsMenuItem( 'Convert to Blocks' );
20 | // Once it's edited, it should be saved as BR tags.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/preformatted.spec.js:17:49
|
Run the tests:
test/e2e/specs/editor/blocks/preformatted.spec.js#L42
4) [chromium] › editor/blocks/preformatted.spec.js:28:2 › Preformatted › should preserve white space when merging
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p>2</p>
<!-- /wp:paragraph -->
<!-- wp:preformatted -->
<pre class="wp-block-preformatted">1<br>2<br><br>3</pre>
<!-- /wp:preformatted -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Preformatted-should-preserve-white-space-when-merging-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-preformatted-Preformatted-should-preserve-white-space-when-merging-chromium/Preformatted-should-preserve-white-space-when-merging-1-actual.txt
40 | await page.keyboard.press( 'Backspace' );
41 |
> 42 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
43 | } );
44 |
45 | test( 'should delete block when backspace in an empty preformatted', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/preformatted.spec.js:42:49
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run the tests
25 failed
[chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
[chromium] › editor/blocks/paragraph.spec.js:295:4 › Paragraph › Empty paragraph › Dragging positions › Only the second block is an empty paragraph block
[chromium] › editor/blocks/preformatted.spec.js:11:2 › Preformatted › should preserve character newlines
[chromium] › editor/blocks/preformatted.spec.js:28:2 › Preformatted › should preserve white space when merging
[chromium] › editor/blocks/preformatted.spec.js:45:2 › Preformatted › should delete block when backspace in an empty preformatted
[chromium] › editor/blocks/quote.spec.js:15:2 › Quote › should allow the user to type right away
[chromium] › editor/blocks/quote.spec.js:31:2 › Quote › can be created by using > at the start of a paragraph block
[chromium] › editor/blocks/quote.spec.js:76:2 › Quote › can be created by typing "/quote" ──────
[chromium] › editor/blocks/quote.spec.js:141:3 › Quote › can be converted to paragraphs › and renders one paragraph block per <p> within quote
[chromium] › editor/blocks/quote.spec.js:163:3 › Quote › can be converted to paragraphs › and renders a paragraph for the cite, if it exists
[chromium] › editor/blocks/quote.spec.js:189:3 › Quote › can be converted to paragraphs › and renders only one paragraph for the cite, if the quote is void
[chromium] › editor/blocks/quote.spec.js:208:3 › Quote › can be converted to paragraphs › and renders a void paragraph if both the cite and quote are void
[chromium] › editor/blocks/quote.spec.js:220:2 › Quote › can be created by converting a heading
[chromium] › editor/blocks/quote.spec.js:236:2 › Quote › can be converted to a pullquote ───────
[chromium] › editor/blocks/quote.spec.js:251:2 › Quote › can be split at the end ───────────────
[chromium] › editor/blocks/quote.spec.js:284:2 › Quote › can be unwrapped on Backspace ─────────
[chromium] › editor/blocks/quote.spec.js:297:2 › Quote › can be unwrapped with content on Backspace
[chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/verse › should exit on triple Enter and merge back
[chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/code › should exit on triple Enter and merge back
[chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/preformatted › should exit on triple Enter and merge back
[chromium] › editor/plugins/block-variations.spec.js:83:2 › Block variations › Insert the Success Message block variation
[chromium] › editor/plugins/block-variations.spec.js:123:2 › Block variations › should show block information when no matching variation is found
[chromium] › editor/plugins/block-variations.spec.js:160:2 › Block variations › should display variations info if all declared
[chromium] › editor/plugins/block-variations.spec.js:196:2 › Block variations › should display mixed block and variation match information
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
3 flaky
[chromium] › editor/blocks/navigation-colors.spec.js:229:2 › Navigation colors › The navigation background color should apply to all navigation links including submenu and overlay backgrounds
[chromium] › editor/blocks/navigation-colors.spec.js:274:2 › Navigation colors › As a user I expect my navigation to use the colors I selected for it
[chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure
1 skipped
159 passed (18.7m)
|
Loading